< prev index next >

src/hotspot/share/gc/g1/g1HeapTransition.hpp

Print this page

        

@@ -24,22 +24,21 @@
 
 #ifndef SHARE_GC_G1_G1HEAPTRANSITION_HPP
 #define SHARE_GC_G1_G1HEAPTRANSITION_HPP
 
 #include "gc/shared/plab.hpp"
-#include "memory/metaspace/metaspaceSizesSnapshot.hpp"
 
 class G1CollectedHeap;
 
 class G1HeapTransition {
   struct Data {
     size_t _eden_length;
     size_t _survivor_length;
     size_t _old_length;
     size_t _archive_length;
     size_t _humongous_length;
-    const metaspace::MetaspaceSizesSnapshot _meta_sizes;
+    size_t _metaspace_used_bytes;
 
     Data(G1CollectedHeap* g1_heap);
   };
 
   G1CollectedHeap* _g1_heap;
< prev index next >