Single byte Atomic::cmpxchg implementation

Erik Österlund erik.osterlund at
Thu Sep 11 11:46:09 UTC 2014

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... 


More information about the hotspot-dev mailing list