-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
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.).
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.).
- links to
-
Review(master) openjdk/jdk/24676