< prev index next >

src/hotspot/share/gc/shenandoah/shenandoahPhaseTimings.cpp

Print this page
rev 52278 : In update-refs, update all code-roots when in degen-gc

@@ -78,10 +78,11 @@
             phase == init_traversal_gc_work ||
             phase == final_traversal_gc_work ||
             phase == final_traversal_update_roots ||
             phase == final_update_refs_roots ||
             phase == full_gc_roots ||
+            phase == degen_gc_update_roots ||
             phase == _num_phases,
             "only in these phases we can add per-thread phase times");
   if (phase != _num_phases) {
     // Merge _phase_time to counters below the given phase.
     for (uint i = 0; i < GCParPhasesSentinel; i++) {

@@ -205,10 +206,11 @@
 
   _phase_names[recycle_regions]                 = "  Recycle regions";
 
   _phase_names[degen_gc_gross]                  = "Pause Degenerated GC (G)";
   _phase_names[degen_gc]                        = "Pause Degenerated GC (N)";
+  _phase_names[degen_gc_update_roots]           = "  Degenerated GC update roots";
 
   _phase_names[full_gc_gross]                   = "Pause Full GC (G)";
   _phase_names[full_gc]                         = "Pause Full GC (N)";
   _phase_names[full_gc_heapdumps]               = "  Heap Dumps";
   _phase_names[full_gc_prepare]                 = "  Prepare";
< prev index next >