-
Bug
-
Resolution: Unresolved
-
P3
-
25
-
x86
-
linux_alpine
There were crashes while running runtime/cds/appcds/aotClassLinking/AddReads.java on Alpine linux. See attached hs_err file. Note that Compact Object Headers were enabled by patch for testing:
- product(bool, UseCompactObjectHeaders, false, EXPERIMENTAL,
+ product(bool, UseCompactObjectHeaders, true,
java.lang.RuntimeException: Hotspot crashed
at jdk.test.lib.cds.CDSTestUtils.executeAndLog(CDSTestUtils.java:703)
at jdk.test.lib.cds.CDSAppTester.executeAndCheck(CDSAppTester.java:194)
at jdk.test.lib.cds.CDSAppTester.recordAOTConfiguration(CDSAppTester.java:250)
at jdk.test.lib.cds.CDSAppTester.runAOTWorkflow(CDSAppTester.java:437)
at jdk.test.lib.cds.SimpleCDSAppTester.runAOTWorkflow(SimpleCDSAppTester.java:189)
at AddReads.test(AddReads.java:120)
at AddReads.main(AddReads.java:190)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
at java.base/java.lang.Thread.run(Thread.java:1447)
We have also seen aotClassLinking crashes on Alpine linux without Compact Object Headers. New attachment AddReads.jtr was created without it.
The crashes seem to happen always since 2025-05-16 (afterJDK-8354887 and JDK-8354083).
- product(bool, UseCompactObjectHeaders, false, EXPERIMENTAL,
+ product(bool, UseCompactObjectHeaders, true,
java.lang.RuntimeException: Hotspot crashed
at jdk.test.lib.cds.CDSTestUtils.executeAndLog(CDSTestUtils.java:703)
at jdk.test.lib.cds.CDSAppTester.executeAndCheck(CDSAppTester.java:194)
at jdk.test.lib.cds.CDSAppTester.recordAOTConfiguration(CDSAppTester.java:250)
at jdk.test.lib.cds.CDSAppTester.runAOTWorkflow(CDSAppTester.java:437)
at jdk.test.lib.cds.SimpleCDSAppTester.runAOTWorkflow(SimpleCDSAppTester.java:189)
at AddReads.test(AddReads.java:120)
at AddReads.main(AddReads.java:190)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
at java.base/java.lang.Thread.run(Thread.java:1447)
We have also seen aotClassLinking crashes on Alpine linux without Compact Object Headers. New attachment AddReads.jtr was created without it.
The crashes seem to happen always since 2025-05-16 (after
- caused by
-
JDK-8354083 Support --add-reads with -XX:+AOTClassLinking
-
- Resolved
-