8229967: Enable thread local handshakes on zero
authorrehn
Thu, 22 Aug 2019 12:46:20 +0200
changeset 57835 c2bc7b07c67a
parent 57834 e686b661fa05
child 57836 e70dec4229e9
8229967: Enable thread local handshakes on zero Reviewed-by: sgehwolf, shade
src/hotspot/cpu/zero/globalDefinitions_zero.hpp
src/hotspot/cpu/zero/globals_zero.hpp
--- a/src/hotspot/cpu/zero/globalDefinitions_zero.hpp	Thu Aug 22 12:24:02 2019 +0200
+++ b/src/hotspot/cpu/zero/globalDefinitions_zero.hpp	Thu Aug 22 12:46:20 2019 +0200
@@ -30,6 +30,8 @@
 #define SUPPORTS_NATIVE_CX8
 #endif
 
+#define THREAD_LOCAL_POLL
+
 #include <ffi.h>
 
 // Indicates whether the C calling conventions require that
--- a/src/hotspot/cpu/zero/globals_zero.hpp	Thu Aug 22 12:24:02 2019 +0200
+++ b/src/hotspot/cpu/zero/globals_zero.hpp	Thu Aug 22 12:46:20 2019 +0200
@@ -76,7 +76,7 @@
 // No performance work done here yet.
 define_pd_global(bool, CompactStrings, false);
 
-define_pd_global(bool, ThreadLocalHandshakes, false);
+define_pd_global(bool, ThreadLocalHandshakes, true);
 
 #define ARCH_FLAGS(develop, \
                    product, \