JDK-8368801 : [lworld] AOT warning message causes LoggingDeadlock2 test failure
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: repo-valhalla
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-09-26
  • Updated: 2025-11-20
  • Resolved: 2025-11-20
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.
Other
repo-valhallaFixed
Related Reports
Causes :  
Causes :  
Description
AOT related log messages to stdout are causing LoggingDeadlock2 to fail.
The test is looking for its own messages from a child process and instead are getting AOT warnings.

[0.217s][warning][aot,codecache,stubs] Saved blob's name 'IIIIIIII' is different from the expected name 'LIIIIIIL'
[0.217s][warning][aot                ] Failed to link AdapterHandlerEntry (fp=LIIIIIIL) to its code in the AOT code cache
[0.217s][warning][aot,codecache,stubs] Saved blob's name 'IIIIIIIL' is different from the expected name 'LIIIIIII'
[0.217s][warning][aot                ] Failed to link AdapterHandlerEntry (fp=LIIIIIII) to its code in the AOT code cache
JavaChild started
seed=8182008785316393061
dojoin=true
iters1=402
iters2=622
exiter started
$
Child exited with status: 99
false not equal to true

Passed = 4, failed = 1

----------System.err:(21/1204)----------
java.lang.Exception: Stack trace
	at java.base/java.lang.Thread.dumpStack(Thread.java:2018)
	at LoggingDeadlock2.fail(LoggingDeadlock2.java:323)
	at LoggingDeadlock2.fail(LoggingDeadlock2.java:324)
	at LoggingDeadlock2.equal(LoggingDeadlock2.java:330)
	at LoggingDeadlock2.realMain(LoggingDeadlock2.java:92)
	at LoggingDeadlock2.main(LoggingDeadlock2.java:332)
	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:1474)
java.lang.AssertionError: Some tests failed
	at LoggingDeadlock2.main(LoggingDeadlock2.java:334)
	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:1474)

Comments
A pull request was submitted for review. Branch: lworld URL: https://git.openjdk.org/valhalla/pull/1748 Date: 2025-11-19 17:12:58 +0000
19-11-2025