changeset 59431:4ca6fc2d0e3d

8245755: Shenandoah: missing logging for CWR Roots Reviewed-by: rkennke
author shade
date Tue, 26 May 2020 09:30:23 +0200
parents 16a7e87a97fe
children b4ef7c2ed04a
files src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp	Tue May 26 09:30:17 2020 +0200
+++ b/src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp	Tue May 26 09:30:23 2020 +0200
@@ -1854,8 +1854,9 @@
 
 void ShenandoahHeap::op_weak_roots() {
   if (is_concurrent_weak_root_in_progress()) {
+    // Concurrent weak root processing
     {
-      // Concurrent weak root processing
+      ShenandoahTimingsTracker t(ShenandoahPhaseTimings::conc_weak_roots_work);
       ShenandoahGCWorkerPhase worker_phase(ShenandoahPhaseTimings::conc_weak_roots_work);
       ShenandoahConcurrentWeakRootsEvacUpdateTask task(ShenandoahPhaseTimings::conc_weak_roots_work);
       workers()->run_task(&task);