src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.hpp

Print this page

        

@@ -345,10 +345,11 @@
 public:
   ParallelCompactData();
   bool initialize(MemRegion covered_region);
 
   size_t region_count() const { return _region_count; }
+  size_t reserved_byte_size() const { return _reserved_byte_size; }
 
   // Convert region indices to/from RegionData pointers.
   inline RegionData* region(size_t region_idx) const;
   inline size_t     region(const RegionData* const region_ptr) const;
 

@@ -418,10 +419,11 @@
 #ifdef  ASSERT
   HeapWord*       _region_end;
 #endif  // #ifdef ASSERT
 
   PSVirtualSpace* _region_vspace;
+  size_t          _reserved_byte_size;
   RegionData*     _region_data;
   size_t          _region_count;
 };
 
 inline uint