# HG changeset patch # User rehn # Date 1566470780 -7200 # Node ID c2bc7b07c67ad4f92c7e58b88d4dc0cc5bfb26cf # Parent e686b661fa05f7b1bb16bb9a687b8aaf887f87d1 8229967: Enable thread local handshakes on zero Reviewed-by: sgehwolf, shade diff -r e686b661fa05 -r c2bc7b07c67a src/hotspot/cpu/zero/globalDefinitions_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 // Indicates whether the C calling conventions require that diff -r e686b661fa05 -r c2bc7b07c67a src/hotspot/cpu/zero/globals_zero.hpp --- 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, \