RFR: 8330362: G1: Inline offset array element accessor in G1BlockOffsetTable
Thomas Schatzl
tschatzl at openjdk.org
Tue Apr 23 09:45:29 UTC 2024
On Mon, 22 Apr 2024 09:56:46 GMT, Guoxiong Li <gli at openjdk.org> wrote:
> Hi all,
>
> This patch inlines the method `G1BlockOffsetTable::set_offset_array_raw`. I think the method `G1BlockOffsetTable::offset_array` is a `getter` corresponding to the `setter` `G1BlockOffsetTable::set_offset_array` and the check in `G1BlockOffsetTable::offset_array` is useful, so it seems good to keep it.
>
> Thanks for taking the time to review.
>
> Best Regards,
> -- Guoxiong
Marked as reviewed by tschatzl (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/18881#pullrequestreview-2016762549
More information about the hotspot-gc-dev
mailing list