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

Guoxiong Li gli at openjdk.org
Tue Apr 23 15:15:28 UTC 2024


On Mon, 22 Apr 2024 10:53:37 GMT, Albert Mingkun Yang <ayang 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.

Many places(about 20) use the `offset_array`. Can't confirm whether it is good to remove `offset_array` now. Should I integrate this patch without removing `offset_array`?

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

PR Comment: https://git.openjdk.org/jdk/pull/18881#issuecomment-2072645035


More information about the hotspot-gc-dev mailing list