< prev index next >

src/hotspot/os_cpu/linux_s390/atomic_linux_s390.hpp

Print this page

        

*** 333,338 **** --- 333,345 ---- ); return old; } + template<size_t byte_size> + struct Atomic::PlatformOrderedLoad<byte_size, X_ACQUIRE> + { + template <typename T> + T operator()(const volatile T* p) const { T t = *p; OrderAccess::acquire(); return t; } + }; + #endif // OS_CPU_LINUX_S390_ATOMIC_LINUX_S390_HPP
< prev index next >