Verify metaspace when printing VM.metaspace stuefe-new-metaspace-branch
authorstuefe
Tue, 19 Nov 2019 16:53:17 +0100
branchstuefe-new-metaspace-branch
changeset 59134 b67820888eb3
parent 59107 245a39d9e24d
child 59135 84464aa83a29
Verify metaspace when printing VM.metaspace
src/hotspot/share/memory/metaspace/metaspaceReport.cpp
--- a/src/hotspot/share/memory/metaspace/metaspaceReport.cpp	Fri Nov 15 10:11:04 2019 +0100
+++ b/src/hotspot/share/memory/metaspace/metaspaceReport.cpp	Tue Nov 19 16:53:17 2019 +0100
@@ -394,6 +394,8 @@
   out->cr();
   out->cr();
 
+  DEBUG_ONLY(MetaspaceUtils::verify(true);)
+
 } // MetaspaceUtils::print_report()
 
 } // namespace metaspace