--- old/src/hotspot/os_cpu/solaris_sparc/atomic_solaris_sparc.hpp 2019-11-21 11:54:08.783914333 +0100 +++ new/src/hotspot/os_cpu/solaris_sparc/atomic_solaris_sparc.hpp 2019-11-21 11:54:08.523909936 +0100 @@ -45,8 +45,8 @@ template<> template -inline T Atomic::PlatformXchg<4>::operator()(T exchange_value, - T volatile* dest, +inline T Atomic::PlatformXchg<4>::operator()(T volatile* dest, + T exchange_value, atomic_memory_order order) const { STATIC_ASSERT(4 == sizeof(T)); __asm__ volatile ( "swap [%2],%0" @@ -58,8 +58,8 @@ template<> template -inline T Atomic::PlatformXchg<8>::operator()(T exchange_value, - T volatile* dest, +inline T Atomic::PlatformXchg<8>::operator()(T volatile* dest, + T exchange_value, atomic_memory_order order) const { STATIC_ASSERT(8 == sizeof(T)); T old_value = *dest;