-
Bug
-
Resolution: Fixed
-
P3
-
17, 19
-
b19
-
aarch64
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8295656 | 17.0.6-oracle | Tobias Hartmann | P3 | Resolved | Fixed | b04 |
JDK-8295233 | 17.0.6 | Evgeny Astigeevich | P3 | Resolved | Fixed | b01 |
compiler/c2/aarch64/TestFarJump.java
Here's a snippet from the log file:
#section:driver
----------messages:(5/179)----------
command: driver compiler.c2.aarch64.TestFarJump
reason: User specified action: run driver compiler.c2.aarch64.TestFarJump
Mode: agentvm
Agent id: 6
elapsed time (seconds): 0.421
----------configuration:(18/2496)----------
Boot Layer
class path: /opt/mach5/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/javatest.jar
/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/jtreg.jar
/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/junit.jar
/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/hamcrest.jar
/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/testng.jar
/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/jcommander.jar
/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/guice.jar
patch: java.base /opt/mach5/mesos/work_dir/slaves/c82600aa-2448-475c-8c08-6f02a5b3f3af-S43514/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1f4a2a10-c93f-4a25-b114-096da87fb938/runs/53ab2678-d5cf-4c94-9d43-38d25348aed8/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler/patches/java.base
Test Layer
class path: /opt/mach5/mesos/work_dir/slaves/c82600aa-2448-475c-8c08-6f02a5b3f3af-S43514/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1f4a2a10-c93f-4a25-b114-096da87fb938/runs/53ab2678-d5cf-4c94-9d43-38d25348aed8/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler/classes/2/compiler/c2/aarch64/TestFarJump.d
/opt/mach5/mesos/work_dir/jib-master/install/jdk-19+18-1176/src.full/open/test/hotspot/jtreg/compiler/c2/aarch64
/opt/mach5/mesos/work_dir/slaves/c82600aa-2448-475c-8c08-6f02a5b3f3af-S43514/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1f4a2a10-c93f-4a25-b114-096da87fb938/runs/53ab2678-d5cf-4c94-9d43-38d25348aed8/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler/classes/2/test/lib
/opt/mach5/mesos/work_dir/jib-master/install/jdk-19+18-1176/src.full/open/test/lib
/opt/mach5/mesos/work_dir/slaves/c82600aa-2448-475c-8c08-6f02a5b3f3af-S43514/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1f4a2a10-c93f-4a25-b114-096da87fb938/runs/53ab2678-d5cf-4c94-9d43-38d25348aed8/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler/classes/2
/opt/mach5/mesos/work_dir/jib-master/install/jdk-19+18-1176/src.full/open/test/hotspot/jtreg
----------rerun:(29/6936)*----------
<snip>
----------System.out:(10/4782)----------
Command line: [/opt/mach5/mesos/work_dir/jib-master/install/jdk-19+18-1176/linux-aarch64-open.jdk/jdk-19/bin/java -cp /opt/mach5/mesos/work_dir/slaves/c82600aa-2448-475c-8c08-6f02a5b3f3af-S43514/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1f4a2a10-c93f-4a25-b114-096da87fb938/runs/53ab2678-d5cf-4c94-9d43-38d25348aed8/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler/classes/2/compiler/c2/aarch64/TestFarJump.d:/opt/mach5/mesos/work_dir/jib-master/install/jdk-19+18-1176/src.full/open/test/hotspot/jtreg/compiler/c2/aarch64:/opt/mach5/mesos/work_dir/slaves/c82600aa-2448-475c-8c08-6f02a5b3f3af-S43514/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1f4a2a10-c93f-4a25-b114-096da87fb938/runs/53ab2678-d5cf-4c94-9d43-38d25348aed8/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler/classes/2/test/lib:/opt/mach5/mesos/work_dir/slaves/c82600aa-2448-475c-8c08-6f02a5b3f3af-S43514/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1f4a2a10-c93f-4a25-b114-096da87fb938/runs/53ab2678-d5cf-4c94-9d43-38d25348aed8/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler/classes/2:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/javatest.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/jtreg.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/junit.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/hamcrest.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/testng.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/jcommander.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/guice.jar -XX:-Inline -Xcomp -Xbatch -XX:+TieredCompilation -XX:+SegmentedCodeCache -XX:CompileOnly=compiler.c2.aarch64.TestFarJump::main -XX:ReservedCodeCacheSize=256M -XX:+UnlockDiagnosticVMOptions -XX:+PrintAssembly compiler.c2.aarch64.TestFarJump ]
[2022-04-11T02:20:34.985072841Z] Gathering output for process 3238574
[Exception Handler]
0x0000fffbf0140450: ; {runtime_call handle_exception_from_callee Runtime1 stub}
0x0000fffbf0140450: a8ec 0390 | 0801 1691 | 0001 3fd6 | c1d5 bbd4 | 78be 930f | fcff 0000
Command line: [/opt/mach5/mesos/work_dir/jib-master/install/jdk-19+18-1176/linux-aarch64-open.jdk/jdk-19/bin/java -cp /opt/mach5/mesos/work_dir/slaves/c82600aa-2448-475c-8c08-6f02a5b3f3af-S43514/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1f4a2a10-c93f-4a25-b114-096da87fb938/runs/53ab2678-d5cf-4c94-9d43-38d25348aed8/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler/classes/2/compiler/c2/aarch64/TestFarJump.d:/opt/mach5/mesos/work_dir/jib-master/install/jdk-19+18-1176/src.full/open/test/hotspot/jtreg/compiler/c2/aarch64:/opt/mach5/mesos/work_dir/slaves/c82600aa-2448-475c-8c08-6f02a5b3f3af-S43514/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1f4a2a10-c93f-4a25-b114-096da87fb938/runs/53ab2678-d5cf-4c94-9d43-38d25348aed8/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler/classes/2/test/lib:/opt/mach5/mesos/work_dir/slaves/c82600aa-2448-475c-8c08-6f02a5b3f3af-S43514/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1f4a2a10-c93f-4a25-b114-096da87fb938/runs/53ab2678-d5cf-4c94-9d43-38d25348aed8/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler/classes/2:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/javatest.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/jtreg.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/junit.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/hamcrest.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/testng.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/jcommander.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/guice.jar -XX:-Inline -Xcomp -Xbatch -XX:+TieredCompilation -XX:+SegmentedCodeCache -XX:CompileOnly=compiler.c2.aarch64.TestFarJump::main -XX:ReservedCodeCacheSize=200M -XX:+UnlockDiagnosticVMOptions -XX:+PrintAssembly compiler.c2.aarch64.TestFarJump ]
[2022-04-11T02:20:35.185813687Z] Gathering output for process 3238618
[Exception Handler]
0x0000fffdd3940410: ; {runtime_call handle_exception_from_callee Runtime1 stub}
0x0000fffdd3940410: 5c50 8695 | c1d5 bbd4 | 78be 56f0 | fdff 0000
----------System.err:(11/674)----------
java.lang.RuntimeException: for CodeHeap < 250MB the far jump is expected to be encoded with a single branch instruction
at compiler.c2.aarch64.TestFarJump.runVM(TestFarJump.java:116)
at compiler.c2.aarch64.TestFarJump.main(TestFarJump.java:128)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
at java.base/java.lang.Thread.run(Thread.java:828)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: for CodeHeap < 250MB the far jump is expected to be encoded with a single branch instruction
- backported by
-
JDK-8295233 compiler/c2/aarch64/TestFarJump.java fails with "RuntimeException: for CodeHeap < 250MB the far jump is expected to be encoded with a single branch instruction"
- Resolved
-
JDK-8295656 compiler/c2/aarch64/TestFarJump.java fails with "RuntimeException: for CodeHeap < 250MB the far jump is expected to be encoded with a single branch instruction"
- Resolved
- relates to
-
JDK-8322858 compiler/c2/aarch64/TestFarJump.java fails on AArch64 due to unexpected PrintAssembly output
- Resolved
-
JDK-8280872 Reorder code cache segments to improve code density
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/4a492945
-
Commit openjdk/jdk/21de4e55
-
Review openjdk/jdk17u-dev/779
-
Review openjdk/jdk/8223