< prev index next >

src/hotspot/share/gc/g1/heapRegion.cpp

Print this page

        

*** 110,119 **** --- 110,132 ---- if (G1HeapRegionSize != GrainBytes) { FLAG_SET_ERGO(G1HeapRegionSize, GrainBytes); } } + void HeapRegion::handle_evacuation_failed() { + uninstall_surv_rate_group(); + clear_young_index_in_cset(); + set_evacuation_failed(false); + set_old(); + } + + void HeapRegion::unlink_from_list() { + set_next(NULL); + set_prev(NULL); + set_containing_set(NULL); + } + void HeapRegion::hr_clear(bool keep_remset, bool clear_space, bool locked) { assert(_humongous_start_region == NULL, "we should have already filtered out humongous regions"); assert(!in_collection_set(), "Should not clear heap region %u in the collection set", hrm_index());
< prev index next >