RFR: 8315061: Make LockingMode a product flag
Daniel D. Daugherty
dcubed at openjdk.org
Wed Aug 30 20:25:37 UTC 2023
On Wed, 30 Aug 2023 19:36:45 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:
> A trivial fix to make LockingMode a product flag.
Verified with a local fastdebug build _without_ enabling experimental options:
$ build/macosx-x86_64-normal-server-fastdebug/images/jdk/bin/java -XX:LockingMode=2 -version
java version "22-internal" 2024-03-19
Java(TM) SE Runtime Environment (fastdebug build 22-internal-2023-08-30-1953507.dcubed...)
Java HotSpot(TM) 64-Bit Server VM (fastdebug build 22-internal-2023-08-30-1953507.dcubed..., mixed mode, sharing)
$ build/macosx-x86_64-normal-server-fastdebug/images/jdk/bin/java -XX:LockingMode=3 -version
int LockingMode=3 is outside the allowed range [ 0 ... 2 ]
Improperly specified VM option 'LockingMode=3'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15496#issuecomment-1699781810
More information about the hotspot-runtime-dev
mailing list