< prev index next >

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

Print this page
*** 148,10 ***
--- 148,11 ---
        heap->set_forced_counters_update(true);
  
        // If GC was requested, we better dump freeset data for performance debugging
        heap->free_set()->log_status_under_lock();
  
+       heap->print_before_gc();
        switch (mode) {
          case concurrent_normal:
            service_concurrent_normal_cycle(cause);
            break;
          case stw_degenerated:

*** 161,10 ***
--- 162,11 ---
            service_stw_full_cycle(cause);
            break;
          default:
            ShouldNotReachHere();
        }
+       heap->print_after_gc();
  
        // If this was the requested GC cycle, notify waiters about it
        if (is_gc_requested) {
          notify_gc_waiters();
        }
< prev index next >