--- old/src/hotspot/os_cpu/linux_aarch64/atomic_linux_aarch64.hpp 2019-11-21 11:54:49.628605109 +0100 +++ new/src/hotspot/os_cpu/linux_aarch64/atomic_linux_aarch64.hpp 2019-11-21 11:54:49.372600780 +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) {