We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33a7978 commit 73018b3Copy full SHA for 73018b3
src/hotspot/share/gc/g1/g1RemSet.cpp
@@ -549,11 +549,6 @@ class G1ScanHRForRegionClosure : public HeapRegionClosure {
549
_blocks_scanned++;
550
551
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
557
HeapWord* const top = _scan_state->scan_top(region_idx);
558
if (card_start >= top) {
559
return;
0 commit comments