src/hotspot/share/services/memBaseline.hpp
changeset 47553 5d20359dd938
parent 47216 71c04702a3d5
child 48873 9536c39ac6de
--- a/src/hotspot/share/services/memBaseline.hpp	Tue Sep 26 14:05:27 2017 +0200
+++ b/src/hotspot/share/services/memBaseline.hpp	Thu Sep 28 09:56:54 2017 -0400
@@ -65,6 +65,7 @@
   // Summary information
   MallocMemorySnapshot   _malloc_memory_snapshot;
   VirtualMemorySnapshot  _virtual_memory_snapshot;
+  MetaspaceSnapshot      _metaspace_snapshot;
 
   size_t               _class_count;
 
@@ -103,6 +104,10 @@
     return &_virtual_memory_snapshot;
   }
 
+  MetaspaceSnapshot* metaspace_snapshot() {
+    return &_metaspace_snapshot;
+  }
+
   MallocSiteIterator malloc_sites(SortingOrder order);
   VirtualMemorySiteIterator virtual_memory_sites(SortingOrder order);