< prev index next >

src/hotspot/cpu/x86/globals_x86.hpp

Print this page
rev 57595 : v2.09a with 8235795, 8235931 and 8236035 extracted; rebased to jdk-14+28; merge with 8236035.patch.cr1; merge with 8235795.patch.cr1; merge with 8236035.patch.cr2; merge with 8235795.patch.cr2; merge with 8235795.patch.cr3.

*** 87,96 **** --- 87,111 ---- define_pd_global(bool, PreserveFramePointer, false); 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, \ experimental, \ notproduct, \
< prev index next >