RFR: 8187227: Zero should use compiler built-ins for atomics on linux-m68k
Andrew Haley
aph at redhat.com
Thu Nov 23 14:22:34 UTC 2017
On 23/11/17 14:19, John Paul Adrian Glaubitz wrote:
> Also, looking at what gcc does for ARM:
>
>> https://github.com/gcc-mirror/gcc/blob/1cb6c2eb3b8361d850be8e8270c597270a1a7967/libgcc/config/arm/linux-atomic.c#L27
> and what OpenJDK does for ARM:
>
>> http://hg.openjdk.java.net/jdk/hs/file/ab188c22d4b6/src/hotspot/os_cpu/linux_zero/atomic_linux_zero.hpp#l101
> it seems both code is identical as both call the kernel helper
> for cmpxchg from the VDSO.
Yeah. I wrote that one, I think.
--
Andrew Haley
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
mailing list