src/hotspot/os_cpu/linux_s390/orderAccess_linux_s390.hpp
changeset 51050 96ea37459ca7
parent 50429 83aec1d357d4
child 53244 9807daeb47c4
equal deleted inserted replaced
51049:70295a56c207 51050:96ea37459ca7
    77 
    77 
    78 template<size_t byte_size>
    78 template<size_t byte_size>
    79 struct OrderAccess::PlatformOrderedLoad<byte_size, X_ACQUIRE>
    79 struct OrderAccess::PlatformOrderedLoad<byte_size, X_ACQUIRE>
    80 {
    80 {
    81   template <typename T>
    81   template <typename T>
    82   T operator()(const volatile T* p) const { register T t = *p; inlasm_zarch_acquire(); return t; }
    82   T operator()(const volatile T* p) const { T t = *p; inlasm_zarch_acquire(); return t; }
    83 };
    83 };
    84 
    84 
    85 #undef inlasm_compiler_barrier
    85 #undef inlasm_compiler_barrier
    86 #undef inlasm_zarch_sync
    86 #undef inlasm_zarch_sync
    87 #undef inlasm_zarch_release
    87 #undef inlasm_zarch_release