Skip to content

Commit c0e1f9e

Browse files
author
Daniel D. Daugherty
committed
8230938: Deprecate MonitorBound
Reviewed-by: dholmes
1 parent 5c3cc74 commit c0e1f9e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/hotspot/share/runtime/arguments.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,7 @@ static SpecialFlag const special_jvm_flags[] = {
539539
{ "FlightRecorder", JDK_Version::jdk(13), JDK_Version::undefined(), JDK_Version::undefined() },
540540
{ "FieldsAllocationStyle", JDK_Version::jdk(14), JDK_Version::jdk(15), JDK_Version::jdk(16) },
541541
{ "CompactFields", JDK_Version::jdk(14), JDK_Version::jdk(15), JDK_Version::jdk(16) },
542+
{ "MonitorBound", JDK_Version::jdk(14), JDK_Version::jdk(15), JDK_Version::jdk(16) },
542543

543544
// --- Deprecated alias flags (see also aliased_jvm_flags) - sorted by obsolete_in then expired_in:
544545
{ "DefaultMaxRAMFraction", JDK_Version::jdk(8), JDK_Version::undefined(), JDK_Version::undefined() },

src/hotspot/share/runtime/globals.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ const size_t minimumSymbolTableSize = 1024;
713713
"Use LWP-based instead of libthread-based synchronization " \
714714
"(SPARC only)") \
715715
\
716-
product(intx, MonitorBound, 0, "Bound Monitor population") \
716+
product(intx, MonitorBound, 0, "(Deprecated) Bound Monitor population") \
717717
range(0, max_jint) \
718718
\
719719
experimental(intx, MonitorUsedDeflationThreshold, 90, \

0 commit comments

Comments
 (0)