diff --git a/src/hotspot/share/runtime/arguments.cpp b/src/hotspot/share/runtime/arguments.cpp index 833d7169eff..1a03605b8a8 100644 --- a/src/hotspot/share/runtime/arguments.cpp +++ b/src/hotspot/share/runtime/arguments.cpp @@ -563,6 +563,7 @@ static SpecialFlag const special_jvm_flags[] = { #ifdef AARCH64 { "UseBarriersForVolatile", JDK_Version::undefined(), JDK_Version::jdk(15), JDK_Version::jdk(16) }, #endif + { "UseLWPSynchronization", JDK_Version::undefined(), JDK_Version::jdk(15), JDK_Version::jdk(16) }, #ifdef TEST_VERIFY_SPECIAL_JVM_FLAGS // These entries will generate build errors. Their purpose is to test the macros. diff --git a/src/hotspot/share/runtime/globals.hpp b/src/hotspot/share/runtime/globals.hpp index 2da31a6f73f..782f83dbaea 100644 --- a/src/hotspot/share/runtime/globals.hpp +++ b/src/hotspot/share/runtime/globals.hpp @@ -683,10 +683,6 @@ const size_t minimumSymbolTableSize = 1024; "Disable the use of stack guard pages if the JVM is loaded " \ "on the primordial process thread") \ \ - product(bool, UseLWPSynchronization, true, \ - "Use LWP-based instead of libthread-based synchronization " \ - "(SPARC only)") \ - \ experimental(intx, MonitorUsedDeflationThreshold, 90, \ "Percentage of used monitors before triggering cleanup " \ "safepoint which deflates monitors (0 is off). " \