Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8359963

compiler/c2/aarch64/TestStaticCallStub.java fails with for code cache > 250MB the static call stub is expected to be implemented using far branch

XMLWordPrintable

    • 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

        There are no Sub-Tasks for this issue.

            mablakatov Mikhail Ablakatov
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: