RFR: 8261579: AArch64: Support for weaker memory ordering in Atomic [v4]

Aleksey Shipilev shade at openjdk.java.net
Mon Jun 28 15:38:05 UTC 2021


On Fri, 25 Jun 2021 15:02:35 GMT, Andrew Haley <aph at openjdk.org> wrote:

>> At present the Atomic operations in HotSpot only support conservative (the very strongest) and relaxed (the weakest) memory ordering.
>> We should add at least seq_cst for LSE. This patch also adds a release-only CAS, needed for Shenandoah.
>
> Andrew Haley has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Sanitize memory order for BSD CAS

Also, if you want all platforms built without errors with GHA, you need to merge in current master.

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

PR: https://git.openjdk.java.net/jdk/pull/4597


More information about the hotspot-dev mailing list