< prev index next >

src/share/vm/gc/g1/heapRegionRemSet.hpp

Print this page
rev 9771 : imported patch 8145667-move-fromcardcache-into-separate-files
rev 9772 : imported patch 8145671-rename-fromcardcache-to-g1fromcardcache
rev 9773 : imported patch 8145672-remove-dependency-of-g1fromcardcache-to-heapregionremset

@@ -189,11 +189,10 @@
   volatile size_t _iter_claimed;
 
 public:
   HeapRegionRemSet(G1BlockOffsetSharedArray* bosa, HeapRegion* hr);
 
-  static uint num_par_rem_sets();
   static void setup_remset_size();
 
   bool is_empty() const {
     return (strong_code_roots_list_length() == 0) && _other_regions.is_empty();
   }

@@ -319,16 +318,10 @@
   void print() PRODUCT_RETURN;
 
   // Called during a stop-world phase to perform any deferred cleanups.
   static void cleanup();
 
-  // Declare the heap size (in # of regions) to the HeapRegionRemSet(s).
-  // (Uses it to initialize from_card_cache).
-  static void init_heap(uint max_regions) {
-    G1FromCardCache::initialize(num_par_rem_sets(), max_regions);
-  }
-
   static void invalidate_from_card_cache(uint start_idx, size_t num_regions) {
     G1FromCardCache::invalidate(start_idx, num_regions);
   }
 
 #ifndef PRODUCT
< prev index next >