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

Print this page

        

*** 49,58 **** --- 49,60 ---- // A G1RemSet in which each heap region has a rem set that records the // external heap references into it. Uses a mod ref bs to track updates, // so that they can be used to update the individual region remsets. class G1RemSet: public CHeapObj<mtGC> { + friend class G1ParScrubRemSetTask; + private: G1RemSetScanState* _scan_state; G1CardLiveData _card_live_data; G1RemSetSummary _prev_period_summary;
*** 135,152 **** // Record, if necessary, the fact that *p (where "p" is in region "from", // which is required to be non-NULL) has changed to a new non-NULL value. 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(uint worker_num, HeapRegionClaimer* hrclaimer); - // Refine the card corresponding to "card_ptr". // If oops_in_heap_closure is not NULL, a true result is returned // if the given card contains oops that have references into the // current collection set. bool refine_card(jbyte* card_ptr, --- 137,146 ----