JMH: GC profiler misreports allocation and churn rates

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: tools
    • None
    • jmh

      Look at the new test. If you multiply the allocation rate from `gc.alloc.rate.norm` by the benchmark throughput, it would disagree with `gc.alloc.rate`. This is because `gc.alloc.rate` is computed by GC profiler using its own timer, which accidentally includes the artificial delay before deregistering the GC notifications.

            Assignee:
            Aleksey Shipilev
            Reporter:
            Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: