RFR: 8375643: G1: Convert G1RegionMarkStatsCache to use Atomic<T>
Kim Barrett
kbarrett at openjdk.org
Mon Jan 19 18:22:32 UTC 2026
On Mon, 19 Jan 2026 16:56:09 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:
> Hi all,
>
> please review this change to make `G1RegionMarkStatsCache` use `Atomic<T>`.
>
> The only unusual part is that I added two getters to that class to avoid the repeated `.load_relaxed()` typing.
>
> Testing: gha
>
> Thanks,
> Thomas
Looks good.
-------------
Marked as reviewed by kbarrett (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/29303#pullrequestreview-3679205978
More information about the hotspot-gc-dev
mailing list