< prev index next >

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

Print this page

        

@@ -32,11 +32,10 @@
 class HeapRegion;
 
 class G1SurvivorRegions {
 private:
   GrowableArray<HeapRegion*>* _regions;
-  volatile size_t             _used_bytes;
 
 public:
   G1SurvivorRegions();
 
   void add(HeapRegion* hr);

@@ -48,13 +47,8 @@
   uint length() const;
 
   const GrowableArray<HeapRegion*>* regions() const {
     return _regions;
   }
-
-  // Used bytes of all survivor regions.
-  size_t used_bytes() const { return _used_bytes; }
-
-  void add_used_bytes(size_t used_bytes);
 };
 
 #endif // SHARE_GC_G1_G1SURVIVORREGIONS_HPP
< prev index next >