RFR: 8316961: Fallback implementations for 64-bit Atomic::{add,xchg} on 32-bit platforms [v2]

Aleksey Shipilev shade at openjdk.org
Fri Oct 20 10:54:42 UTC 2023


> See the bug for rationale. Looks like there is enough infrastructure to achieve what we want without significant fan-out. I checked all `atomic_*.hpp` headers for unimplemented `PlatformAdd<8>` and `PlatformXchg<8>`, and only these seem to be affected.
> 
> Unfortunately, we cannot test these apart from the existing gtest.
> 
> Additional testing:
>  - [x] linux-x86-server-fastdebug, atomic tests pass
>  - [x] linux-arm-server-fastdebug, atomic tests pass (with #16269 applied)

Aleksey Shipilev has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains two commits:

 - Merge branch 'master' into JDK-8316961-fallback-atomics
 - Work

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

Changes: https://git.openjdk.org/jdk/pull/16252/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16252&range=01
  Stats: 93 lines in 5 files changed: 82 ins; 8 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/16252.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16252/head:pull/16252

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


More information about the hotspot-dev mailing list