< prev index next >

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

Print this page
*** 248,10 ***
--- 248,11 ---
  
    {
      // Cannot uncommit bitmap slices during concurrent reset
      ShenandoahNoUncommitMark forbid_region_uncommit(_heap);
  
+     _heap->print_before_gc();
      switch (gc_mode()) {
        case concurrent_normal: {
          service_concurrent_normal_cycle(request);
          break;
        }

*** 269,10 ***
--- 270,11 ---
          break;
        }
        default:
          ShouldNotReachHere();
      }
+     _heap->print_after_gc();
    }
  
    // If this cycle completed successfully, notify threads waiting for gc
    if (!_heap->cancelled_gc()) {
      notify_gc_waiters();
< prev index next >