8229206: Shenandoah: ShenandoahWeakRoot::oops_do() uses wrong timing phase

Reviewed-by: shade
This commit is contained in:
Zhengyu Gu 2019-08-07 07:45:37 -04:00
parent 302a162704
commit 0512111dd9

View File

@ -48,7 +48,7 @@ inline void ShenandoahWeakRoot<CONCURRENT>::oops_do(Closure* cl, uint worker_id)
_itr.oops_do(cl);
} else {
ShenandoahWorkerTimings* worker_times = ShenandoahHeap::heap()->phase_timings()->worker_times();
ShenandoahWorkerTimingsTracker timer(worker_times, ShenandoahPhaseTimings::ThreadRoots, worker_id);
ShenandoahWorkerTimingsTracker timer(worker_times, _phase, worker_id);
_itr.oops_do(cl);
}
}