-
Bug
-
Resolution: Fixed
-
P4
-
22
-
b21
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8334119 | 21.0.5-oracle | PAWAN CHAWDHARY | P4 | Resolved | Fixed | b01 |
JDK-8334376 | 21.0.5 | Andrew Lu | P4 | Resolved | Fixed | b01 |
I ran the test with extra flags:
-XX:+AlignVector -XX:+IgnoreUnrecognizedVMOptions -XX:+VerifyAlignVector
Basically, I wanted to run over all tiers with an additional flag that may only be present on certain platforms.
VerifyAlignVector is one that does not exist anywhere yet. But IgnoreUnrecognizedVMOptions should also make that be ignored.
The test seems to then override with
-XX:-IgnoreUnrecognizedVMOptions
And produce this in the logs:
...
[STDERR]
Unrecognized VM option 'VerifyAlignVector'
Did you mean '(+/-)AlignVector'?
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
[2023-10-12T16:12:18.366329418Z] Waiting for completion for process 2575300
[2023-10-12T16:12:18.366420018Z] Waiting for completion finished for process 2575300
[2023-10-12T16:12:18.366515027Z] Waiting for completion for process 2575300
[2023-10-12T16:12:18.366589647Z] Waiting for completion finished for process 2575300
----------System.err:(22/1142)----------
stdout: [];
stderr: [Unrecognized VM option 'VerifyAlignVector'
Did you mean '(+/-)AlignVector'?
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
]
exitValue = 1
java.lang.RuntimeException: 'VM option 'ArchiveHeapTestClass' is develop and is available only in debug version of VM.' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:221)
at ArchiveHeapTestClass.mustContain(ArchiveHeapTestClass.java:92)
at ArchiveHeapTestClass.mustFail(ArchiveHeapTestClass.java:97)
at ArchiveHeapTestClass.testProductBuild(ArchiveHeapTestClass.java:177)
at ArchiveHeapTestClass.main(ArchiveHeapTestClass.java:67)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1570)
-XX:+AlignVector -XX:+IgnoreUnrecognizedVMOptions -XX:+VerifyAlignVector
Basically, I wanted to run over all tiers with an additional flag that may only be present on certain platforms.
VerifyAlignVector is one that does not exist anywhere yet. But IgnoreUnrecognizedVMOptions should also make that be ignored.
The test seems to then override with
-XX:-IgnoreUnrecognizedVMOptions
And produce this in the logs:
...
[STDERR]
Unrecognized VM option 'VerifyAlignVector'
Did you mean '(+/-)AlignVector'?
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
[2023-10-12T16:12:18.366329418Z] Waiting for completion for process 2575300
[2023-10-12T16:12:18.366420018Z] Waiting for completion finished for process 2575300
[2023-10-12T16:12:18.366515027Z] Waiting for completion for process 2575300
[2023-10-12T16:12:18.366589647Z] Waiting for completion finished for process 2575300
----------System.err:(22/1142)----------
stdout: [];
stderr: [Unrecognized VM option 'VerifyAlignVector'
Did you mean '(+/-)AlignVector'?
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
]
exitValue = 1
java.lang.RuntimeException: 'VM option 'ArchiveHeapTestClass' is develop and is available only in debug version of VM.' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:221)
at ArchiveHeapTestClass.mustContain(ArchiveHeapTestClass.java:92)
at ArchiveHeapTestClass.mustFail(ArchiveHeapTestClass.java:97)
at ArchiveHeapTestClass.testProductBuild(ArchiveHeapTestClass.java:177)
at ArchiveHeapTestClass.main(ArchiveHeapTestClass.java:67)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1570)
- backported by
-
JDK-8334119 IgnoreUnrecognizedVMOptions flag still causes failure in ArchiveHeapTestClass
- Resolved
-
JDK-8334376 IgnoreUnrecognizedVMOptions flag still causes failure in ArchiveHeapTestClass
- Resolved
- relates to
-
JDK-8302117 IgnoreUnrecognizedVMOptions flag causes failure in ArchiveHeapTestClass
- Resolved
- links to
-
Commit openjdk/jdk21u-dev/a30e9c63
-
Commit openjdk/jdk/d888b267
-
Review openjdk/jdk21u-dev/714
-
Review openjdk/jdk/16282
(2 links to)