changeset 47529:afa019495182

Merge
author dholmes
date Tue, 26 Sep 2017 10:17:35 +0000
parents 3d7757370ef3 9a6795c1b007
children 468f0664cb39
files
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	Tue Sep 26 11:25:34 2017 +0200
+++ b/src/hotspot/os_cpu/linux_zero/orderAccess_linux_zero.inline.hpp	Tue Sep 26 10:17:35 2017 +0000
@@ -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