< prev index next >
src/hotspot/os_cpu/linux_arm/atomic_linux_arm.hpp
Print this page
*** 52,63 ****
(*os::atomic_load_long_func)(reinterpret_cast<const volatile int64_t*>(src)));
}
template<>
template<typename T>
! inline void Atomic::PlatformStore<8>::operator()(T store_value,
! T volatile* dest) const {
STATIC_ASSERT(8 == sizeof(T));
(*os::atomic_store_long_func)(
PrimitiveConversions::cast<int64_t>(store_value), reinterpret_cast<volatile int64_t*>(dest));
}
--- 52,63 ----
(*os::atomic_load_long_func)(reinterpret_cast<const volatile int64_t*>(src)));
}
template<>
template<typename T>
! inline void Atomic::PlatformStore<8>::operator()(T volatile* dest,
! T store_value) const {
STATIC_ASSERT(8 == sizeof(T));
(*os::atomic_store_long_func)(
PrimitiveConversions::cast<int64_t>(store_value), reinterpret_cast<volatile int64_t*>(dest));
}
< prev index next >