src/hotspot/os_cpu/linux_s390/orderAccess_linux_s390.hpp
changeset 59247 56bf71d64d51
parent 59122 5d73255c2d52
--- a/src/hotspot/os_cpu/linux_s390/orderAccess_linux_s390.hpp	Mon Nov 25 14:06:13 2019 +0100
+++ b/src/hotspot/os_cpu/linux_s390/orderAccess_linux_s390.hpp	Mon Nov 25 12:22:13 2019 +0100
@@ -76,13 +76,6 @@
 inline void OrderAccess::fence()      { inlasm_zarch_sync(); }
 inline void OrderAccess::cross_modify_fence() { inlasm_zarch_sync(); }
 
-template<size_t byte_size>
-struct OrderAccess::PlatformOrderedLoad<byte_size, X_ACQUIRE>
-{
-  template <typename T>
-  T operator()(const volatile T* p) const { T t = *p; inlasm_zarch_acquire(); return t; }
-};
-
 #undef inlasm_compiler_barrier
 #undef inlasm_zarch_sync
 #undef inlasm_zarch_release