src/hotspot/share/gc/g1/g1RemSet.hpp
changeset 59293 5af9fa90cd7b
parent 59233 bd9dba789919
equal deleted inserted replaced
59292:95b1385dd476 59293:5af9fa90cd7b
   100   // Prepare for and cleanup after scanning the heap roots. Must be called
   100   // Prepare for and cleanup after scanning the heap roots. Must be called
   101   // once before and after in sequential code.
   101   // once before and after in sequential code.
   102   void prepare_for_scan_heap_roots();
   102   void prepare_for_scan_heap_roots();
   103   // Cleans the card table from temporary duplicate detection information.
   103   // Cleans the card table from temporary duplicate detection information.
   104   void cleanup_after_scan_heap_roots();
   104   void cleanup_after_scan_heap_roots();
   105   // Prepares the given region for heap root scanning.
   105   // Excludes the given region from heap root scanning.
   106   void prepare_for_scan_heap_roots(uint region_idx);
   106   void exclude_region_from_scan(uint region_idx);
       
   107   // Creates a snapshot of the current _top values at the start of collection to
       
   108   // filter out card marks that we do not want to scan.
       
   109   void prepare_region_for_scan(HeapRegion* region);
   107 
   110 
   108   // Do work for regions in the current increment of the collection set, scanning
   111   // Do work for regions in the current increment of the collection set, scanning
   109   // non-card based (heap) roots.
   112   // non-card based (heap) roots.
   110   void scan_collection_set_regions(G1ParScanThreadState* pss,
   113   void scan_collection_set_regions(G1ParScanThreadState* pss,
   111                                    uint worker_id,
   114                                    uint worker_id,