Integrated: 8376119: G1: Convert volatiles in G1CMMarkStack to Atomic<T>
Thomas Schatzl
tschatzl at openjdk.org
Mon Jan 26 09:51:01 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
This pull request has now been integrated.
Changeset: 42c0126f
Author: Thomas Schatzl <tschatzl at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/42c0126fb2067b5f792e99af9ad131bab7502c08
Stats: 14 lines in 3 files changed: 0 ins; 0 del; 14 mod
8376119: G1: Convert volatiles in G1CMMarkStack to Atomic<T>
Reviewed-by: kbarrett, iwalulya
-------------
PR: https://git.openjdk.org/jdk/pull/29365
More information about the hotspot-gc-dev
mailing list