< prev index next >

src/hotspot/os_cpu/aix_ppc/atomic_aix_ppc.hpp

Print this page

        

*** 135,145 **** template<> template<typename T> inline T Atomic::PlatformXchg<4>::operator()(T exchange_value, T volatile* dest) const { STATIC_ASSERT(4 == sizeof(T)); ! // Note that xchg_ptr doesn't necessarily do an acquire // (see synchronizer.cpp). T old_value; const uint64_t zero = 0; --- 135,145 ---- template<> template<typename T> inline T Atomic::PlatformXchg<4>::operator()(T exchange_value, T volatile* dest) const { STATIC_ASSERT(4 == sizeof(T)); ! // Note that xchg doesn't necessarily do an acquire // (see synchronizer.cpp). T old_value; const uint64_t zero = 0;
*** 174,184 **** template<> template<typename T> inline T Atomic::PlatformXchg<8>::operator()(T exchange_value, T volatile* dest) const { STATIC_ASSERT(8 == sizeof(T)); ! // Note that xchg_ptr doesn't necessarily do an acquire // (see synchronizer.cpp). T old_value; const uint64_t zero = 0; --- 174,184 ---- template<> template<typename T> inline T Atomic::PlatformXchg<8>::operator()(T exchange_value, T volatile* dest) const { STATIC_ASSERT(8 == sizeof(T)); ! // Note that xchg doesn't necessarily do an acquire // (see synchronizer.cpp). T old_value; const uint64_t zero = 0;
< prev index next >