< prev index next >

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

Print this page

        

@@ -98,16 +98,17 @@
   void merge_heap_roots(bool initial_evacuation);
 
   // Prepare for and cleanup after scanning the heap roots. Must be called
   // once before and after in sequential code.
   void prepare_for_scan_heap_roots();
-  // Prepare region for scanning.
-  void prepare_region_for_scanning(HeapRegion* region);
   // Cleans the card table from temporary duplicate detection information.
   void cleanup_after_scan_heap_roots();
   // Prepares the given region for heap root scanning.
   void prepare_for_scan_heap_roots(uint region_idx);
+  // Creates a snapshot of the current _top values at the start of collection to
+  // filter out card marks that we do not want to scan.
+  void prepare_region_for_scan(HeapRegion* region);
 
   // Do work for regions in the current increment of the collection set, scanning
   // non-card based (heap) roots.
   void scan_collection_set_regions(G1ParScanThreadState* pss,
                                    uint worker_id,
< prev index next >