-
Bug
-
Resolution: Unresolved
-
P4
-
26
-
aarch64
-
linux, os_x
The following test failed in the JDK26 CI:
compiler/c2/aarch64/TestStaticCallStub.java
Here's a snippet from the maces-aarch64 sighting:
#section:driver
----------messages:(8/288)----------
command: driver compiler.c2.aarch64.TestStaticCallStub
reason: User specified action: run driver compiler.c2.aarch64.TestStaticCallStub
started: Wed Jun 18 21:44:04 GMT 2025
Mode: agentvm
Agent id: 7
Process id: 86130
finished: Wed Jun 18 21:44:07 GMT 2025
elapsed time (seconds): 2.968
----------configuration:(16/2455)----------
<snip>
----------System.err:(12/792)----------
java.lang.RuntimeException: for code cache > 250MB the static call stub is expected to be implemented using far branch
at compiler.c2.aarch64.TestStaticCallStub.verifyFarStaticCall(TestStaticCallStub.java:91)
at compiler.c2.aarch64.TestStaticCallStub.runVM(TestStaticCallStub.java:121)
at compiler.c2.aarch64.TestStaticCallStub.main(TestStaticCallStub.java:134)
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)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: for code cache > 250MB the static call stub is expected to be implemented using far branch
test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: for code cache > 250MB the static call stub is expected to be implemented using far branch
compiler/c2/aarch64/TestStaticCallStub.java
Here's a snippet from the maces-aarch64 sighting:
#section:driver
----------messages:(8/288)----------
command: driver compiler.c2.aarch64.TestStaticCallStub
reason: User specified action: run driver compiler.c2.aarch64.TestStaticCallStub
started: Wed Jun 18 21:44:04 GMT 2025
Mode: agentvm
Agent id: 7
Process id: 86130
finished: Wed Jun 18 21:44:07 GMT 2025
elapsed time (seconds): 2.968
----------configuration:(16/2455)----------
<snip>
----------System.err:(12/792)----------
java.lang.RuntimeException: for code cache > 250MB the static call stub is expected to be implemented using far branch
at compiler.c2.aarch64.TestStaticCallStub.verifyFarStaticCall(TestStaticCallStub.java:91)
at compiler.c2.aarch64.TestStaticCallStub.runVM(TestStaticCallStub.java:121)
at compiler.c2.aarch64.TestStaticCallStub.main(TestStaticCallStub.java:134)
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)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: for code cache > 250MB the static call stub is expected to be implemented using far branch
test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: for code cache > 250MB the static call stub is expected to be implemented using far branch
- caused by
-
JDK-8358329 AArch64: emit direct branches in static stubs for small code caches
-
- Resolved
-
- duplicates
-
JDK-8359969 TestStaticCallStub.java fails after JDK-8359386
-
- Closed
-