< prev index next >

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

Print this page

        

*** 240,252 **** for (uint i = 0; i < len; i++) { if (!is_available(i)) { continue; } guarantee(at(i) != NULL, "Tried to access region %u that has a NULL HeapRegion*", i); ! bool res = blk->do_heap_region(at(i)); if (res) { ! blk->set_incomplete(); return; } } } --- 240,252 ---- for (uint i = 0; i < len; i++) { if (!is_available(i)) { continue; } guarantee(at(i) != NULL, "Tried to access region %u that has a NULL HeapRegion*", i); ! bool res = blk->doHeapRegion(at(i)); if (res) { ! blk->incomplete(); return; } } }
*** 351,361 **** } // OK, try to claim it if (!hrclaimer->claim_region(index)) { continue; } ! bool res = blk->do_heap_region(r); if (res) { return; } } } --- 351,361 ---- } // OK, try to claim it if (!hrclaimer->claim_region(index)) { continue; } ! bool res = blk->doHeapRegion(r); if (res) { return; } } }
< prev index next >