--- old/src/hotspot/cpu/x86/globals_x86.hpp 2020-02-25 17:43:48.000000000 -0500 +++ new/src/hotspot/cpu/x86/globals_x86.hpp 2020-02-25 17:43:47.000000000 -0500 @@ -89,21 +89,6 @@ define_pd_global(intx, InitArrayShortSize, 8*BytesPerLong); -#if defined(_LP64) || defined(_WINDOWS) -// ObjectMonitor ref_count is implemented in LP64 C2 fast_lock() -// and fast_unlock() so we don't need the handshake by default. -#ifdef _LP64 -define_pd_global(bool, HandshakeAfterDeflateIdleMonitors, false); -#else -define_pd_global(bool, HandshakeAfterDeflateIdleMonitors, true); -#endif -#else -// ObjectMonitor ref_count not implemented in C2 fast_lock() or -// fast_unlock() so use a handshake for safety. -// Will use a safepoint instead of a handshake on this platform. -define_pd_global(bool, HandshakeAfterDeflateIdleMonitors, true); -#endif - #define ARCH_FLAGS(develop, \ product, \ diagnostic, \