< prev index next >

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

Print this page
rev 54081 : imported patch 8220301-remove-jbyte-use-cardtable
rev 54087 : imported patch 8218668-reorganize-collection-set

*** 226,235 **** --- 226,237 ---- assert(!hr->is_pinned(), "Unexpected pinned region at index %u", hr->hrm_index()); assert(hr->in_collection_set(), "bad CS"); if (_hrclaimer->claim_region(hr->hrm_index())) { if (hr->evacuation_failed()) { + hr->clear_index_in_opt_cset(); + bool during_initial_mark = _g1h->collector_state()->in_initial_mark_gc(); bool during_conc_mark = _g1h->collector_state()->mark_or_rebuild_in_progress(); hr->note_self_forwarding_removal_start(during_initial_mark, during_conc_mark);
< prev index next >