G1BlockOffsetTablePart maintains a range limit (`_next_offset_index`) which should be in sync with `HeapRegion::_top`. We should never ask for cards corresponding to addresses ` >= HeapRegion::_top`.
Therefore, we can change the range checking to asserts.
Therefore, we can change the range checking to asserts.
- relates to
-
JDK-8289093 BlockLocationPrinter fails to decode addresses with G1
- Resolved
-
JDK-8271896 Remove unnecessary top address checks in BOT
- Resolved