src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp

Print this page

        

*** 2627,2636 **** --- 2627,2641 ---- uint num_workers, jint claim_value) const { _hrs.par_iterate(cl, worker_id, num_workers, claim_value); } + void + G1CollectedHeap::heap_region_iterate_range(HeapRegionClosure* cl, uint start, uint end) const { + _hrs.iterate_range(cl, start, end); + } + class ResetClaimValuesClosure: public HeapRegionClosure { public: bool doHeapRegion(HeapRegion* r) { r->set_claim_value(HeapRegion::InitialClaimValue); return false;