< prev index next >

src/hotspot/os_cpu/linux_zero/atomic_linux_zero.hpp

Print this page

        

*** 120,131 **** return PrimitiveConversions::cast<T>(dest); } template<> template<typename T> ! inline void Atomic::PlatformStore<8>::operator()(T store_value, ! T volatile* dest) const { STATIC_ASSERT(8 == sizeof(T)); os::atomic_copy64(reinterpret_cast<const volatile int64_t*>(&store_value), reinterpret_cast<volatile int64_t*>(dest)); } #endif // OS_CPU_LINUX_ZERO_ATOMIC_LINUX_ZERO_HPP --- 120,131 ---- return PrimitiveConversions::cast<T>(dest); } template<> template<typename T> ! inline void Atomic::PlatformStore<8>::operator()(T volatile* dest, ! T store_value) const { STATIC_ASSERT(8 == sizeof(T)); os::atomic_copy64(reinterpret_cast<const volatile int64_t*>(&store_value), reinterpret_cast<volatile int64_t*>(dest)); } #endif // OS_CPU_LINUX_ZERO_ATOMIC_LINUX_ZERO_HPP
< prev index next >