src/hotspot/share/gc/g1/g1GCPhaseTimes.cpp
changeset 51332 c25572739e7c
parent 50438 66d0ded78cce
child 51546 b9f6a4427da9
equal deleted inserted replaced
51331:7939b3c4e408 51332:c25572739e7c
   487   _pss->reset_trim_ticks();
   487   _pss->reset_trim_ticks();
   488   _stopped = true;
   488   _stopped = true;
   489 }
   489 }
   490 
   490 
   491 G1GCParPhaseTimesTracker::G1GCParPhaseTimesTracker(G1GCPhaseTimes* phase_times, G1GCPhaseTimes::GCParPhases phase, uint worker_id) :
   491 G1GCParPhaseTimesTracker::G1GCParPhaseTimesTracker(G1GCPhaseTimes* phase_times, G1GCPhaseTimes::GCParPhases phase, uint worker_id) :
   492     _phase_times(phase_times), _phase(phase), _worker_id(worker_id) {
   492   _start_time(), _phase(phase), _phase_times(phase_times), _worker_id(worker_id) {
   493   if (_phase_times != NULL) {
   493   if (_phase_times != NULL) {
   494     _start_time = Ticks::now();
   494     _start_time = Ticks::now();
   495   }
   495   }
   496 }
   496 }
   497 
   497