src/hotspot/share/gc/g1/heapRegionManager.cpp
changeset 48890 f9884e190f2b
parent 48889 216c2aabbf1f
child 48969 7eb296a8ce2c
equal deleted inserted replaced
48889:216c2aabbf1f 48890:f9884e190f2b
   240   for (uint i = 0; i < len; i++) {
   240   for (uint i = 0; i < len; i++) {
   241     if (!is_available(i)) {
   241     if (!is_available(i)) {
   242       continue;
   242       continue;
   243     }
   243     }
   244     guarantee(at(i) != NULL, "Tried to access region %u that has a NULL HeapRegion*", i);
   244     guarantee(at(i) != NULL, "Tried to access region %u that has a NULL HeapRegion*", i);
   245     bool res = blk->do_heap_region(at(i));
   245     bool res = blk->doHeapRegion(at(i));
   246     if (res) {
   246     if (res) {
   247       blk->set_incomplete();
   247       blk->incomplete();
   248       return;
   248       return;
   249     }
   249     }
   250   }
   250   }
   251 }
   251 }
   252 
   252 
   351     }
   351     }
   352     // OK, try to claim it
   352     // OK, try to claim it
   353     if (!hrclaimer->claim_region(index)) {
   353     if (!hrclaimer->claim_region(index)) {
   354       continue;
   354       continue;
   355     }
   355     }
   356     bool res = blk->do_heap_region(r);
   356     bool res = blk->doHeapRegion(r);
   357     if (res) {
   357     if (res) {
   358       return;
   358       return;
   359     }
   359     }
   360   }
   360   }
   361 }
   361 }