src/share/vm/gc_implementation/g1/g1HotCardCache.hpp

Print this page
rev 6804 : imported patch commit-uncommit-within-heap

@@ -76,11 +76,11 @@
 
  public:
   G1HotCardCache(G1CollectedHeap* g1h);
   ~G1HotCardCache();
 
-  void initialize();
+  void initialize(G1RegionToSpaceMapper* card_counts_storage);
 
   bool use_cache() { return _use_cache; }
 
   void set_use_cache(bool b) {
     _use_cache = (b ? default_use_cache() : false);

@@ -113,13 +113,10 @@
     _hot_cache_idx = 0; _n_hot = 0;
   }
 
   bool hot_cache_is_empty() { return _n_hot == 0; }
 
-  // Resizes the card counts table to match the given capacity
-  void resize_card_counts(size_t heap_capacity);
-
   // Zeros the values in the card counts table for entire committed heap
   void reset_card_counts();
 
   // Zeros the values in the card counts table for the given region
   void reset_card_counts(HeapRegion* hr);