src/hotspot/share/gc/g1/g1HeapTransition.hpp
changeset 55576 4d193e40e7af
parent 53244 9807daeb47c4
child 59062 6530de931b8e
--- a/src/hotspot/share/gc/g1/g1HeapTransition.hpp	Wed Jul 03 16:30:19 2019 +0000
+++ b/src/hotspot/share/gc/g1/g1HeapTransition.hpp	Wed Jul 03 15:46:48 2019 -0400
@@ -26,6 +26,7 @@
 #define SHARE_GC_G1_G1HEAPTRANSITION_HPP
 
 #include "gc/shared/plab.hpp"
+#include "memory/metaspace/metaspaceSizesSnapshot.hpp"
 
 class G1CollectedHeap;
 
@@ -36,7 +37,7 @@
     size_t _old_length;
     size_t _archive_length;
     size_t _humongous_length;
-    size_t _metaspace_used_bytes;
+    const metaspace::MetaspaceSizesSnapshot _meta_sizes;
 
     Data(G1CollectedHeap* g1_heap);
   };