src/hotspot/share/services/memTracker.cpp
changeset 49980 57dd7b4ba338
parent 49480 d7df2dd501ce
child 50429 83aec1d357d4
--- a/src/hotspot/share/services/memTracker.cpp	Thu May 03 17:36:25 2018 -0700
+++ b/src/hotspot/share/services/memTracker.cpp	Tue Apr 24 18:06:32 2018 +0200
@@ -177,10 +177,12 @@
     } else {
       MemDetailReporter rpt(baseline, output);
       rpt.report();
-
+      output->print("Metaspace:");
       // Metadata reporting requires a safepoint, so avoid it if VM is not in good state.
       assert(!VMError::fatal_error_in_progress(), "Do not report metadata in error report");
-      VM_PrintMetadata vmop(output, K);
+      VM_PrintMetadata vmop(output, K,
+          MetaspaceUtils::rf_show_loaders |
+          MetaspaceUtils::rf_break_down_by_spacetype);
       VMThread::execute(&vmop);
     }
   }