< prev index next >

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

Print this page
rev 56461 : imported patch 8220312.stat.2
rev 56462 : imported patch 8220312.stat.3
rev 56463 : [mq]: 8220312.stat.4

@@ -25,29 +25,32 @@
 #ifndef SHARE_GC_G1_G1SURVIVORREGIONS_HPP
 #define SHARE_GC_G1_G1SURVIVORREGIONS_HPP
 
 #include "runtime/globals.hpp"
 
+class G1RegionCounts;
 template <typename T>
 class GrowableArray;
 class HeapRegion;
 
 class G1SurvivorRegions {
 private:
   GrowableArray<HeapRegion*>* _regions;
   volatile size_t             _used_bytes;
+  G1RegionCounts              _region_counts;
 
 public:
   G1SurvivorRegions();
 
-  void add(HeapRegion* hr);
+  virtual uint add(HeapRegion* hr);
 
   void convert_to_eden();
 
   void clear();
 
   uint length() const;
+  uint length(uint node_index) const;
 
   const GrowableArray<HeapRegion*>* regions() const {
     return _regions;
   }
 
< prev index next >