RFR (XS) 8242638: Shenandoah: restore heap logging for uncommit

Aleksey Shipilev shade at redhat.com
Tue Apr 14 13:24:01 UTC 2020


Bug:
  https://bugs.openjdk.java.net/browse/JDK-8242638

Fix:

diff -r 72920184520f src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp
--- a/src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp        Tue Apr 14 14:45:24 2020 +0200
+++ b/src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp        Tue Apr 14 15:22:52 2020 +0200
@@ -2870,5 +2870,5 @@
 void ShenandoahHeap::entry_uncommit(double shrink_before) {
   static const char *msg = "Concurrent uncommit";
-  ShenandoahConcurrentPhase gc_phase(msg);
+  ShenandoahConcurrentPhase gc_phase(msg, true /* log_heap_usage */);
   EventMark em("%s", msg);

Testing: hotspot_gc_shenandoah, eyeballing logs

-- 
Thanks,
-Aleksey



More information about the shenandoah-dev mailing list