-
Bug
-
Resolution: Fixed
-
P4
-
21, 25
-
master
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8367696 | 21.0.10 | Satyen Subramaniam | P4 | Resolved | Fixed | master |
Seeing failures when running the `test/hotspot/jtreg/gc/TestObjectAlignmentCardSize.java` test on 32 bit systems:
```
...
Output:
Unrecognized VM option 'ObjectAlignmentInBytes=8'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
STDERR:
stdout: [];
stderr: [Unrecognized VM option 'ObjectAlignmentInBytes=8'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
]
exitValue = 1
java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:507)
at gc.TestObjectAlignmentCardSize.runTest(TestObjectAlignmentCardSize.java:49)
at gc.TestObjectAlignmentCardSize.main(TestObjectAlignmentCardSize.java:57)
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:1583)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
```
Underlying cause is that the `ObjectAlignmentInBytes` option is unsupported
```
...
Output:
Unrecognized VM option 'ObjectAlignmentInBytes=8'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
STDERR:
stdout: [];
stderr: [Unrecognized VM option 'ObjectAlignmentInBytes=8'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
]
exitValue = 1
java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:507)
at gc.TestObjectAlignmentCardSize.runTest(TestObjectAlignmentCardSize.java:49)
at gc.TestObjectAlignmentCardSize.main(TestObjectAlignmentCardSize.java:57)
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:1583)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
```
Underlying cause is that the `ObjectAlignmentInBytes` option is unsupported
- backported by
-
JDK-8367696 Test `test/hotspot/jtreg/gc/TestObjectAlignmentCardSize.java` fails on 32 bit systems
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk21u-dev/4fdcf0e2
-
Commit(master) openjdk/jdk/0f535aeb
-
Review(master) openjdk/jdk21u-dev/2203
-
Review(master) openjdk/jdk/27230