index

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

Print this page
rev 7209 : 6979279

*** 122,139 **** template <class T> void par_write_ref(HeapRegion* from, T* p, uint tid); // Requires "region_bm" and "card_bm" to be bitmaps with 1 bit per region // or card, respectively, such that a region or card with a corresponding // 0 bit contains no part of any live object. Eliminates any remembered ! // set entries that correspond to dead heap ranges. ! void scrub(BitMap* region_bm, BitMap* card_bm); ! ! // Like the above, but assumes is called in parallel: "worker_num" is the ! // parallel thread id of the current thread, and "hrclaimer" is the shared ! // HeapRegionClaimer that should be used to claim heap regions. ! void scrub_par(BitMap* region_bm, BitMap* card_bm, ! uint worker_num, HeapRegionClaimer* hrclaimer); // Refine the card corresponding to "card_ptr". // If check_for_refs_into_cset is true, a true result is returned // if the given card contains oops that have references into the // current collection set. --- 122,135 ---- template <class T> void par_write_ref(HeapRegion* from, T* p, uint tid); // Requires "region_bm" and "card_bm" to be bitmaps with 1 bit per region // or card, respectively, such that a region or card with a corresponding // 0 bit contains no part of any live object. Eliminates any remembered ! // set entries that correspond to dead heap ranges. "worker_num" is the ! // parallel thread id of the current thread, and "hrclaimer" is the ! // HeapRegionClaimer that should be used. ! void scrub(BitMap* region_bm, BitMap* card_bm, uint worker_num, HeapRegionClaimer* hrclaimer); // Refine the card corresponding to "card_ptr". // If check_for_refs_into_cset is true, a true result is returned // if the given card contains oops that have references into the // current collection set.
index