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

Add generic JFR events for TaskTerminator

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • hotspot
    • gc
    • In Review

      TaskTerminator is the common terminator used by most of the garbage collectors including G1, Shenandoah and Parallel, but only G1 emits limited jfr events for the termination attempts in evacuation and ref process, we don't emits any jfr events in another use cases.

      We could add generic JFR events for all the garbage collectors using TaskTerminator to track the time spent on task termination and termination attempts, which will benefit performance engineer to capture potential problem in application code, e.g. using large LinkedList or LinkedBlockingQueue causing GC to be not able to parallelize GC tasks when it traverses the graph of all live object in heap(update refer, marking...etc.).

            xpeng Xiaolong Peng
            xpeng Xiaolong Peng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: