OpenJDK / jdk / jdk
changeset 56052:c2bc7b07c67a
8229967: Enable thread local handshakes on zero
Reviewed-by: sgehwolf, shade
author | rehn |
---|---|
date | Thu, 22 Aug 2019 12:46:20 +0200 |
parents | e686b661fa05 |
children | e70dec4229e9 |
files | src/hotspot/cpu/zero/globalDefinitions_zero.hpp src/hotspot/cpu/zero/globals_zero.hpp |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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, \