RFR: 8374677: ZGC: Convert zArray to use Atomic<T>

Axel Boldt-Christmas aboldtch at openjdk.org
Wed Jan 14 08:06:35 UTC 2026


Convert usages of AtomicAccess to Atomic<T> in zArray.

Not sure about `NextType` name. Unclear how we want to name our using type aliases in the ZGC code.

Testing:
 * GHA
 * HotSpot GC tests with ZGC linux x64 and linux aarch64

-------------

Commit messages:
 - ZGC: Convert zArray to use Atomic<T>

Changes: https://git.openjdk.org/jdk/pull/29218/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29218&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8374677
  Stats: 9 lines in 2 files changed: 2 ins; 1 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/29218.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/29218/head:pull/29218

PR: https://git.openjdk.org/jdk/pull/29218


More information about the hotspot-gc-dev mailing list