equal
deleted
inserted
replaced
226 assert(!hr->is_pinned(), "Unexpected pinned region at index %u", hr->hrm_index()); |
226 assert(!hr->is_pinned(), "Unexpected pinned region at index %u", hr->hrm_index()); |
227 assert(hr->in_collection_set(), "bad CS"); |
227 assert(hr->in_collection_set(), "bad CS"); |
228 |
228 |
229 if (_hrclaimer->claim_region(hr->hrm_index())) { |
229 if (_hrclaimer->claim_region(hr->hrm_index())) { |
230 if (hr->evacuation_failed()) { |
230 if (hr->evacuation_failed()) { |
231 bool during_initial_mark = _g1h->collector_state()->during_initial_mark_pause(); |
231 bool during_initial_mark = _g1h->collector_state()->in_initial_mark_gc(); |
232 bool during_conc_mark = _g1h->collector_state()->mark_in_progress(); |
232 bool during_conc_mark = _g1h->collector_state()->mark_or_rebuild_in_progress(); |
233 |
233 |
234 hr->note_self_forwarding_removal_start(during_initial_mark, |
234 hr->note_self_forwarding_removal_start(during_initial_mark, |
235 during_conc_mark); |
235 during_conc_mark); |
236 _g1h->verifier()->check_bitmaps("Self-Forwarding Ptr Removal", hr); |
236 _g1h->verifier()->check_bitmaps("Self-Forwarding Ptr Removal", hr); |
237 |
237 |