changeset 47269:9c0137e5e37a

8187590: Zero runtime can lock-up on linux-alpha Reviewed-by: aph, dholmes
author glaubitz
date Tue, 26 Sep 2017 04:52:02 -0400
parents 97569cf468f4
children 9a6795c1b007
files src/hotspot/os_cpu/linux_zero/orderAccess_linux_zero.inline.hpp
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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