Fix of JDK-8129855: -XX:+IgnoreUnrecognizedVMOptions hides out of range VM options
Changed the behavior of option handling. Now, IgnoreUnrecognizedVMOptions doesn't ignore Locked options.
As the result all the tests which rely on the previous behavior started failing like:
Error: VM option 'GuaranteedSafepointInterval' is diagnostic and must be enabled via -XX:+UnlockDiagnosticVMOptions.
Error: The unlock option must precede 'GuaranteedSafepointInterval'.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
All such tests need to be fixed. Ideally, they must have been fixed along with theJDK-8129855...
List of tests to update:
compiler/c2/8004741/Test8004741.java
compiler/loopopts/TestCastIINoLoopLimitCheck.java
compiler/runtime/7196199/Test7196199.java
gc/g1/TestEagerReclaimHumongousRegionsClearMarkBits.java
gc/g1/TestLargePageUseForAuxMemory.java
Changed the behavior of option handling. Now, IgnoreUnrecognizedVMOptions doesn't ignore Locked options.
As the result all the tests which rely on the previous behavior started failing like:
Error: VM option 'GuaranteedSafepointInterval' is diagnostic and must be enabled via -XX:+UnlockDiagnosticVMOptions.
Error: The unlock option must precede 'GuaranteedSafepointInterval'.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
All such tests need to be fixed. Ideally, they must have been fixed along with the
List of tests to update:
compiler/c2/8004741/Test8004741.java
compiler/loopopts/TestCastIINoLoopLimitCheck.java
compiler/runtime/7196199/Test7196199.java
gc/g1/TestEagerReclaimHumongousRegionsClearMarkBits.java
gc/g1/TestLargePageUseForAuxMemory.java
- relates to
-
JDK-8141129 3 compiler control tests fail on product builds
-
- Resolved
-
-
JDK-8141654 Tests missing -XX:+UnlockDiagnosticVMOptions
-
- Resolved
-
-
JDK-8129855 -XX:+IgnoreUnrecognizedVMOptions hides out of range VM options.
-
- Resolved
-