< prev index next >

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

Print this page

        

*** 63,73 **** // The retained region was added to the old region set when it was // retired. We have to remove it now, since we don't allow regions // we allocate to in the region sets. We'll re-add it later, when // it's retired again. _g1h->_old_set.remove(retained_region); ! bool during_im = _g1h->g1_policy()->during_initial_mark_pause(); retained_region->note_start_of_copying(during_im); old->set(retained_region); _g1h->_hr_printer.reuse(retained_region); evacuation_info.set_alloc_regions_used_before(retained_region->used()); } --- 63,73 ---- // The retained region was added to the old region set when it was // retired. We have to remove it now, since we don't allow regions // we allocate to in the region sets. We'll re-add it later, when // it's retired again. _g1h->_old_set.remove(retained_region); ! bool during_im = _g1h->collector_state()->during_initial_mark_pause(); retained_region->note_start_of_copying(during_im); old->set(retained_region); _g1h->_hr_printer.reuse(retained_region); evacuation_info.set_alloc_regions_used_before(retained_region->used()); }
< prev index next >