RFR: 8264908: Investigate adding BOT range check in G1BlockOffsetTablePart::block_at_or_preceding

Ivan Walulya iwalulya at openjdk.java.net
Wed Jul 14 12:33:11 UTC 2021


On Wed, 14 Jul 2021 12:27:08 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> Re `if (addr >= _hr->bottom() && addr < _hr->top()) {`, I don't think we ever pass `addr` outside `[bottom, top)`, so I suggest restore the original code and change this to an assert in another PR.

Thanks, will do that.

-------------

PR: https://git.openjdk.java.net/jdk/pull/4775



More information about the hotspot-gc-dev mailing list