OpenJDK / portola / portola
changeset 47528:9a6795c1b007
Merge
author | dholmes |
---|---|
date | Tue, 26 Sep 2017 09:02:10 +0000 |
parents | e05aff6beada 9c0137e5e37a |
children | afa019495182 |
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 00:52:29 2017 -0700 +++ b/src/hotspot/os_cpu/linux_zero/orderAccess_linux_zero.inline.hpp Tue Sep 26 09:02:10 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