RFR: 8330362: G1: Inline offset array element accessor in G1BlockOffsetTable

Albert Mingkun Yang ayang at openjdk.org
Mon Apr 22 10:56:38 UTC 2024


On Mon, 22 Apr 2024 09:56:46 GMT, Guoxiong Li <gli at openjdk.org> wrote:

> the check in G1BlockOffsetTable::offset_array is useful

I feel its value is limited, if `update_for_block` and related public apis have already asserted `address` is within the reserved heap.

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

Marked as reviewed by ayang (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/18881#pullrequestreview-2014437177


More information about the hotspot-gc-dev mailing list