diff -r 4cbfa5077d68 -r 623722a6aeb9 src/hotspot/os_cpu/linux_aarch64/atomic_linux_aarch64.hpp --- a/src/hotspot/os_cpu/linux_aarch64/atomic_linux_aarch64.hpp Mon Nov 25 12:32:40 2019 +0100 +++ b/src/hotspot/os_cpu/linux_aarch64/atomic_linux_aarch64.hpp Mon Nov 25 12:33:15 2019 +0100 @@ -57,9 +57,9 @@ template template -inline T Atomic::PlatformCmpxchg::operator()(T exchange_value, - T volatile* dest, +inline T Atomic::PlatformCmpxchg::operator()(T volatile* dest, T compare_value, + T exchange_value, atomic_memory_order order) const { STATIC_ASSERT(byte_size == sizeof(T)); if (order == memory_order_relaxed) {