8187590: Zero runtime can lock-up on linux-alpha
authorglaubitz
Tue, 26 Sep 2017 04:52:02 -0400
changeset 47527 9c0137e5e37a
parent 47524 97569cf468f4
child 47528 9a6795c1b007
8187590: Zero runtime can lock-up on linux-alpha Reviewed-by: aph, dholmes
src/hotspot/os_cpu/linux_zero/orderAccess_linux_zero.inline.hpp
--- a/src/hotspot/os_cpu/linux_zero/orderAccess_linux_zero.inline.hpp	Mon Sep 25 21:25:46 2017 -0400
+++ b/src/hotspot/os_cpu/linux_zero/orderAccess_linux_zero.inline.hpp	Tue Sep 26 04:52:02 2017 -0400
@@ -56,8 +56,16 @@
 
 #else // PPC
 
+#ifdef ALPHA
+
+#define LIGHT_MEM_BARRIER __sync_synchronize()
+
+#else // ALPHA
+
 #define LIGHT_MEM_BARRIER __asm __volatile ("":::"memory")
 
+#endif // ALPHA
+
 #endif // PPC
 
 #endif // ARM