Skip to content

Commit 73018b3

Browse files
committed
8306284: G1: Remove assertion in G1ScanHRForRegionClosure::do_claimed_block
Reviewed-by: kbarrett, tschatzl
1 parent 33a7978 commit 73018b3

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -549,11 +549,6 @@ class G1ScanHRForRegionClosure : public HeapRegionClosure {
549549
_blocks_scanned++;
550550

551551
HeapWord* const card_start = _ct->addr_for(dirty_l);
552-
#ifdef ASSERT
553-
HeapRegion* hr = _g1h->region_at_or_null(region_idx);
554-
assert(hr == NULL || hr->is_in_reserved(card_start),
555-
"Card start " PTR_FORMAT " to scan outside of region %u", p2i(card_start), _g1h->region_at(region_idx)->hrm_index());
556-
#endif
557552
HeapWord* const top = _scan_state->scan_top(region_idx);
558553
if (card_start >= top) {
559554
return;

0 commit comments

Comments
 (0)