Integrated: 8374328: Convert simple AtomicAccess uses in gc/shared to use Atomic<T>
Kim Barrett
kbarrett at openjdk.org
Thu Jan 8 11:09:49 UTC 2026
On Thu, 25 Dec 2025 04:00:00 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
> Please review these fairly simple changes to code in gc/shared to use
> `Atomic<T>` instead of directly using `AtomicAccess`.
>
> This change doesn't eliminate all remaining direct uses of `AtomicAccess` in
> that directory; there are still a few uses that seem less simple, and maybe
> some that should stay with direct `AtomicAccess`.
>
> The changes are grouped into a series of commits, as a potential aid to reviewers.
>
> Testing: mach5 tier1-5
This pull request has now been integrated.
Changeset: c5159fc9
Author: Kim Barrett <kbarrett at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/c5159fc9fa0fd81dec629cd821b3411b4a6df967
Stats: 65 lines in 12 files changed: 9 ins; 3 del; 53 mod
8374328: Convert simple AtomicAccess uses in gc/shared to use Atomic<T>
Reviewed-by: dholmes, tschatzl
-------------
PR: https://git.openjdk.org/jdk/pull/28987
More information about the hotspot-dev
mailing list