changeset 56452:850f456d1e22

8229206: Shenandoah: ShenandoahWeakRoot::oops_do() uses wrong timing phase Reviewed-by: shade
author zgu
date Wed, 07 Aug 2019 07:45:37 -0400
parents bf325b739c8a
children 79036e5e744b
files src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.inline.hpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);
   }
 }