RFR: 8330362: G1: Inline offset array element accessor in G1BlockOffsetTable
Guoxiong Li
gli at openjdk.org
Tue Apr 23 15:24:32 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
Thanks for your reviews. Integrating.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18881#issuecomment-2072680340
More information about the hotspot-gc-dev
mailing list