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

Stefan Karlsson stefank at openjdk.org
Wed Sep 17 15:20:25 UTC 2025


On Mon, 15 Sep 2025 06:19:20 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

>> 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

Thanks for the reviews!

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

PR Comment: https://git.openjdk.org/jdk/pull/27245#issuecomment-3303484410


More information about the hotspot-runtime-dev mailing list