mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-22 09:19:37 +01:00
8306284: G1: Remove assertion in G1ScanHRForRegionClosure::do_claimed_block
Reviewed-by: kbarrett, tschatzl
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user