8306284: G1: Remove assertion in G1ScanHRForRegionClosure::do_claimed_block
Reviewed-by: kbarrett, tschatzl
This commit is contained in:
parent
33a7978e85
commit
73018b39cd
@ -549,11 +549,6 @@ class G1ScanHRForRegionClosure : public HeapRegionClosure {
|
|||||||
_blocks_scanned++;
|
_blocks_scanned++;
|
||||||
|
|
||||||
HeapWord* const card_start = _ct->addr_for(dirty_l);
|
HeapWord* const card_start = _ct->addr_for(dirty_l);
|
||||||
#ifdef ASSERT
|
|
||||||
HeapRegion* hr = _g1h->region_at_or_null(region_idx);
|
|
||||||
assert(hr == NULL || hr->is_in_reserved(card_start),
|
|
||||||
"Card start " PTR_FORMAT " to scan outside of region %u", p2i(card_start), _g1h->region_at(region_idx)->hrm_index());
|
|
||||||
#endif
|
|
||||||
HeapWord* const top = _scan_state->scan_top(region_idx);
|
HeapWord* const top = _scan_state->scan_top(region_idx);
|
||||||
if (card_start >= top) {
|
if (card_start >= top) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user