8229206: Shenandoah: ShenandoahWeakRoot::oops_do() uses wrong timing phase
Reviewed-by: shade
--- a/src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.inline.hpp Wed Aug 07 11:28:14 2019 +0100
+++ b/src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.inline.hpp Wed Aug 07 07:45:37 2019 -0400
@@ -48,7 +48,7 @@
_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);
}
}