Single byte Atomic::cmpxchg implementation

David Holmes david.holmes at
Thu Sep 11 13:16:03 UTC 2014

On 11/09/2014 9:46 PM, 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...

Yes the zero port is separate again. The kernel helper is needed on ARMv5.


> /Erik

More information about the hotspot-dev mailing list