src/hotspot/os_cpu/linux_arm/atomic_linux_arm.hpp
changeset 59248 e92153ed8bdc
parent 59122 5d73255c2d52
child 59249 29b0d0b61615
equal deleted inserted replaced
59247:56bf71d64d51 59248:e92153ed8bdc
    52     (*os::atomic_load_long_func)(reinterpret_cast<const volatile int64_t*>(src)));
    52     (*os::atomic_load_long_func)(reinterpret_cast<const volatile int64_t*>(src)));
    53 }
    53 }
    54 
    54 
    55 template<>
    55 template<>
    56 template<typename T>
    56 template<typename T>
    57 inline void Atomic::PlatformStore<8>::operator()(T store_value,
    57 inline void Atomic::PlatformStore<8>::operator()(T volatile* dest,
    58                                                  T volatile* dest) const {
    58                                                  T store_value) const {
    59   STATIC_ASSERT(8 == sizeof(T));
    59   STATIC_ASSERT(8 == sizeof(T));
    60   (*os::atomic_store_long_func)(
    60   (*os::atomic_store_long_func)(
    61     PrimitiveConversions::cast<int64_t>(store_value), reinterpret_cast<volatile int64_t*>(dest));
    61     PrimitiveConversions::cast<int64_t>(store_value), reinterpret_cast<volatile int64_t*>(dest));
    62 }
    62 }
    63 
    63