equal
deleted
inserted
replaced
188 |
188 |
189 bool doHeapRegion(HeapRegion *hr) { |
189 bool doHeapRegion(HeapRegion *hr) { |
190 bool during_initial_mark = _g1h->collector_state()->during_initial_mark_pause(); |
190 bool during_initial_mark = _g1h->collector_state()->during_initial_mark_pause(); |
191 bool during_conc_mark = _g1h->collector_state()->mark_in_progress(); |
191 bool during_conc_mark = _g1h->collector_state()->mark_in_progress(); |
192 |
192 |
193 assert(!hr->is_humongous(), "sanity"); |
193 assert(!hr->is_pinned(), err_msg("Unexpected pinned region at index %u", hr->hrm_index())); |
194 assert(hr->in_collection_set(), "bad CS"); |
194 assert(hr->in_collection_set(), "bad CS"); |
195 |
195 |
196 if (_hrclaimer->claim_region(hr->hrm_index())) { |
196 if (_hrclaimer->claim_region(hr->hrm_index())) { |
197 if (hr->evacuation_failed()) { |
197 if (hr->evacuation_failed()) { |
198 RemoveSelfForwardPtrObjClosure rspc(_g1h, _cm, hr, &_update_rset_cl, |
198 RemoveSelfForwardPtrObjClosure rspc(_g1h, _cm, hr, &_update_rset_cl, |