diff -r 7d1ff3cd84e9 -r bc4e0e0995e6 hotspot/src/share/vm/gc/g1/g1GCPhaseTimes.hpp --- a/hotspot/src/share/vm/gc/g1/g1GCPhaseTimes.hpp Thu Mar 31 11:21:20 2016 +0000 +++ b/hotspot/src/share/vm/gc/g1/g1GCPhaseTimes.hpp Thu Mar 31 17:05:29 2016 +0200 @@ -32,7 +32,6 @@ template class WorkerDataArray; class G1GCPhaseTimes : public CHeapObj { - uint _active_gc_threads; uint _max_gc_threads; jlong _gc_start_counter; double _gc_pause_time_ms; @@ -123,6 +122,7 @@ double _cur_verify_before_time_ms; double _cur_verify_after_time_ms; + double worker_time(GCParPhases phase, uint worker); void note_gc_end(); template @@ -133,7 +133,7 @@ public: G1GCPhaseTimes(uint max_gc_threads); - void note_gc_start(uint active_gc_threads); + void note_gc_start(); void print(); // record the time a phase took in seconds