RFR: JDK-8148734: G1: Make G1GCPhaseTimes keep track of the start GC time

Bengt Rutisson bengt.rutisson at oracle.com
Mon Feb 1 09:55:29 UTC 2016

Hi everyone,

Could I have a couple of reviews for this change?


Currently G1CollectedHeap is responsible for keeping track of the start 
time for a GC and pass it along to G1GCPhaseTimes when it is time to 
print the G1 log details.

Since G1GCPhaseTimes has both a note_gc_start() and a note_gc_end() it 
seems more stable that G1GCPhaseTimes keeps track of the GC time itself.


More information about the hotspot-gc-dev mailing list