equal
deleted
inserted
replaced
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->doHeapRegion(at(i)); |
245 bool res = blk->do_heap_region(at(i)); |
246 if (res) { |
246 if (res) { |
247 blk->incomplete(); |
247 blk->set_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->doHeapRegion(r); |
356 bool res = blk->do_heap_region(r); |
357 if (res) { |
357 if (res) { |
358 return; |
358 return; |
359 } |
359 } |
360 } |
360 } |
361 } |
361 } |