RFR: 8367486: Change prefix for platform-dependent AtomicAccess files [v4]

Stefan Karlsson stefank at openjdk.org
Mon Sep 15 06:19:20 UTC 2025


> JDK-8367014 renamed the class Atomic to AtomicAccess and renamed atomic.hpp to atomicAccess.hpp. I propose that we also rename the platform-dependent headers that implement the AtomicAccess support to be named atomicAccess_<os>_<arch>.hpp.
> 
> Note that I left atomic_aarch64.hpp and atomic_linux_aarch64.S intact since they clear, external usages outside of the AtomicAccess class.
> 
> I will verify that this still builds on the platform that I can easily build.

Stefan Karlsson has updated the pull request incrementally with two additional commits since the last revision:

 - Update include in os_bsd_zero.cpp
 - Update include in os_linux_zero.cpp

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27245/files
  - new: https://git.openjdk.org/jdk/pull/27245/files/30e51731..54e7b62d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27245&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27245&range=02-03

  Stats: 4 lines in 2 files changed: 2 ins; 2 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/27245.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27245/head:pull/27245

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


More information about the hotspot-runtime-dev mailing list