Fix class space display issue in metaspace report stuefe-new-metaspace-branch
authorstuefe
Tue, 10 Sep 2019 15:05:00 +0200
branchstuefe-new-metaspace-branch
changeset 58070 2cecbd566968
parent 58069 ba98d1dccf30
child 58085 a5f523f2ff91
Fix class space display issue in metaspace report
src/hotspot/share/memory/metaspace/classLoaderMetaspace.cpp
--- a/src/hotspot/share/memory/metaspace/classLoaderMetaspace.cpp	Tue Sep 10 14:31:38 2019 +0200
+++ b/src/hotspot/share/memory/metaspace/classLoaderMetaspace.cpp	Tue Sep 10 15:05:00 2019 +0200
@@ -154,7 +154,7 @@
     non_class_space_manager()->add_to_statistics(&out->sm_stats_nonclass);
   }
   if (class_space_manager() != NULL) {
-    class_space_manager()->add_to_statistics(&out->sm_stats_nonclass);
+    class_space_manager()->add_to_statistics(&out->sm_stats_class);
   }
 }