--- old/src/hotspot/cpu/sparc/globals_sparc.hpp 2020-02-03 17:41:43.000000000 -0500 +++ new/src/hotspot/cpu/sparc/globals_sparc.hpp 2020-02-03 17:41:42.000000000 -0500 @@ -80,6 +80,10 @@ define_pd_global(intx, InitArrayShortSize, 8*BytesPerLong); +// ObjectMonitor ref_count not implemented in C2 fast_lock() or +// fast_unlock() so use a handshake for safety. +define_pd_global(bool, HandshakeAfterDeflateIdleMonitors, true); + #define ARCH_FLAGS(develop, \ product, \ diagnostic, \