< prev index next >

src/hotspot/os_cpu/bsd_zero/atomic_bsd_zero.hpp

Print this page

        

*** 274,285 **** 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_BSD_ZERO_ATOMIC_BSD_ZERO_HPP --- 274,285 ---- 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_BSD_ZERO_ATOMIC_BSD_ZERO_HPP
< prev index next >