[aarch64-port-dev ] RFR: aarch64: minor improvements of atomic operations
aph at redhat.com
Wed Nov 13 09:39:05 UTC 2019
On 11/13/19 9:26 AM, Yangfei (Felix) wrote:
> Yes, the cmpxchg case is different here.
> So the v2 patch in my previous mail approved?
> Will create a bug and do necessary testing.
I don't know which patch is v2, but for the reasons carefully laid out
in the kernel-dev thread we don't need two full barriers. The first
version of Atomic::PlatformCmpxchg you posted is OK.
Andrew Haley (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
More information about the hotspot-dev