Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8362416

ZGC allocation stall statistics event

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P2 P2
    • tbd
    • None
    • hotspot
    • gc

      It would be useful to understand how much the total time spend stalling on allocations in ZGC would be. There is currently a ZGC Allocation Stall (jdk.ZAllocationStall) duration event, that will tell you a stall took place, and the total duration of the stall. The default threshold is 10ms. This is very useful, but without something indicating the total time stalled, it is hard to know if there is quite a lot of stalls just under the threshold.

      It would be useful to have a periodic/requestable (once per chunk by default) event (jdk.ZGCStallStatistics) which is simply just counting the stalls and summing up the stall time.

            Unassigned Unassigned
            hirt Marcus Hirt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: