JDK-8357143 : New test AOTCodeCompressedOopsTest.java fails on platforms without AOT Code Cache support
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 25
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-05-16
  • Updated: 2025-05-19
  • Resolved: 2025-05-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 25
25 masterFixed
Related Reports
Causes :  
Description
The new test runtime/cds/appcds/aotCode/AOTCodeCompressedOopsTest.java fails on platforms for which AOT Code Cache is not supported.

[0.028s][info][aot,codecache,init] AOT Code Cache is not supported on this platform.

java.lang.RuntimeException: 'Read \\d+ entries table at offset \\d+ from AOT Code Cache' missing from stdout/stderr
        at jdk.test.lib.process.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:372)
        at AOTCodeCompressedOopsTest$Tester.checkExecution(AOTCodeCompressedOopsTest.java:206)
        at jdk.test.lib.cds.CDSAppTester.executeAndCheck(CDSAppTester.java:203)
        at jdk.test.lib.cds.CDSAppTester.productionRun(CDSAppTester.java:386)
        at jdk.test.lib.cds.CDSAppTester.productionRun(CDSAppTester.java:351)
        at AOTCodeCompressedOopsTest.main(AOTCodeCompressedOopsTest.java:57)
        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)

Comments
Changeset: 6a58af31 Branch: master Author: Vladimir Kozlov <kvn@openjdk.org> Date: 2025-05-19 15:00:54 +0000 URL: https://git.openjdk.org/jdk/commit/6a58af310ab2b800642f4604ee90cc74981fb9f3
19-05-2025

ILW = Test fails due to missing AOT Code Cache support, single test on some platforms, no workaround = MLH = P4
19-05-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/25272 Date: 2025-05-16 19:01:16 +0000
16-05-2025