Integrated: 8316961: Fallback implementations for 64-bit Atomic::{add,xchg} on 32-bit platforms

Aleksey Shipilev shade at openjdk.org
Wed Oct 25 08:32:50 UTC 2023


On Wed, 18 Oct 2023 18:58:58 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

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

This pull request has now been integrated.

Changeset: ba7d08b8
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ba7d08b8199172058bd369d880d2d6a9f9649319
Stats:     108 lines in 5 files changed: 97 ins; 8 del; 3 mod

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

Reviewed-by: eosterlund, dholmes, kbarrett, simonis

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

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


More information about the hotspot-dev mailing list