Details

    • Type: New Feature
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
      jmh

      Description

      For a GC work, it is frequently important to understand the GC pause behavior. Currently, we have two options:
       a) Run the workload in "samples" mode, hoping to catch the GC pauses in the measurement interval. This is not sufficient for two reasons: first, sampling sure misses some pauses, and second, the workload timing itself may variate.
       b) Use the hs_rt profiler which peeks into the HS internal PerfCounters for safepoint times. There are two problems as well: first, the counters are not giving the individual pause times; second, this is an internal API that is not accessible on JDK 9+

      Therefore, it makes sense to get a profiler that tries to detect pauses while running a timed loop. This measurement should correlate with the actual safepoint time, and provide us with the ability to capture individual pause times.

        Attachments

          Activity

            People

            • Assignee:
              shade Aleksey Shipilev
              Reporter:
              shade Aleksey Shipilev
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: