RFR: 8261579: AArch64: Support for weaker memory ordering in Atomic [v4]
Andrew Haley
aph at openjdk.java.net
Mon Jun 28 16:08:38 UTC 2021
On Mon, 28 Jun 2021 14:54:34 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
>> Andrew Haley has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Sanitize memory order for BSD CAS
>
> src/hotspot/os_cpu/linux_aarch64/atomic_linux_aarch64.S line 122:
>
>> 120: cmp w3, w1
>> 121: b.ne 1f
>> 122: stlxr w8, w2, [x0]
>
> Suggestion:
>
> stlxr w8, w2, [x0]
Well spotted!
-------------
PR: https://git.openjdk.java.net/jdk/pull/4597
More information about the hotspot-dev
mailing list