src/hotspot/share/gc/g1/g1EvacFailure.cpp
changeset 49643 a3453bbd5418
parent 49607 acffe6ff3ae7
child 49722 a47d1e21b3f1
equal deleted inserted replaced
49642:7bad9c9efdf3 49643:a3453bbd5418
   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