--- old/src/hotspot/os_cpu/linux_aarch64/atomic_linux_aarch64.hpp 2019-11-21 11:54:05.907865686 +0100 +++ new/src/hotspot/os_cpu/linux_aarch64/atomic_linux_aarch64.hpp 2019-11-21 11:54:05.651861355 +0100 @@ -46,8 +46,8 @@ template template -inline T Atomic::PlatformXchg::operator()(T exchange_value, - T volatile* dest, +inline T Atomic::PlatformXchg::operator()(T volatile* dest, + T exchange_value, atomic_memory_order order) const { STATIC_ASSERT(byte_size == sizeof(T)); T res = __atomic_exchange_n(dest, exchange_value, __ATOMIC_RELEASE);