Single byte Atomic::cmpxchg implementation

Andrew Dinn adinn at
Thu Sep 11 11:58:29 UTC 2014

On 11/09/14 12:46, Erik Österlund wrote:
> On 11 Sep 2014, at 13:24, Andrew Haley <aph at> wrote:
>> Sure; just to be clear, I wasn't thinking about __kernel_cmpxchg,
>> bug a GCC builtin.  AFAIK __kernel_cmpxchg isn't used for anything
>> on AArch64, and we certainly don't need it.
> Sorry, I seem to have looked at defined(ARM) + zero where
> __kernel_cmpxchg is the implementation of choice rather than the
> AArch64-port specific code. Perhaps somebody else is responsible for
> that...

You are now talking to two of those somebody else :-)


Andrew Dinn

More information about the hotspot-dev mailing list