RFR: 8376119: G1: Convert volatiles in G1CMMarkStack to Atomic<T>
Ivan Walulya
iwalulya at openjdk.org
Sat Jan 24 06:08:49 UTC 2026
On Thu, 22 Jan 2026 15:35:05 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:
> Hi all,
>
> please review this conversion of volatiles that do not use any `AtomicAccess` method in `G1CMMarkStack` but are marked as such to indicate potential concurrency when accessing them. Typically we do some phased access, i.e. one (single-threaded) phase writes them, another only reads from them.
>
> Testing: gha
>
> Thanks,
> Thomas
Marked as reviewed by iwalulya (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/29365#pullrequestreview-3700773702
More information about the hotspot-gc-dev
mailing list