--- old/src/hotspot/os_cpu/linux_ppc/atomic_linux_ppc.hpp 2019-11-21 11:54:06.651878270 +0100 +++ new/src/hotspot/os_cpu/linux_ppc/atomic_linux_ppc.hpp 2019-11-21 11:54:06.451874887 +0100 @@ -153,8 +153,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 { // Note that xchg doesn't necessarily do an acquire // (see synchronizer.cpp). @@ -192,8 +192,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)); // Note that xchg doesn't necessarily do an acquire