mirror of
https://github.com/openjdk/jdk.git
synced 2026-07-29 12:23:39 +00:00
8283332: G1: Stricter assertion in G1BlockOffsetTablePart::forward_to_block_containing_addr
Reviewed-by: kbarrett, iwalulya
This commit is contained in:
parent
ec62d90db2
commit
fd9301514e
@ -140,7 +140,7 @@ inline HeapWord* G1BlockOffsetTablePart::forward_to_block_containing_addr(HeapWo
|
||||
"start of block must be an initialized object");
|
||||
n += block_size(q);
|
||||
}
|
||||
assert(q <= n, "wrong order for q and addr");
|
||||
assert(q <= addr, "wrong order for q and addr");
|
||||
assert(addr < n, "wrong order for addr and n");
|
||||
return q;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user