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

compiler/c2/aarch64/TestFarJump.java fails on AArch64 due to unexpected PrintAssembly output

    XMLWordPrintable

Details

    • b05
    • aarch64

    Backports

      Description

        Have only been seen on AArch64 so far.

        The failure message: 'ADRP instruction is expected on far jump'

        The test log snippet:

        [2023-12-09T00:55:50.050350751Z] Gathering output for process 3299144
        [Exception Handler]
          0x0000ffff7ff028e0: f303 00aa | e817 40f9 | 88a7 02f9 | e81b 40f9 | 88af 02f9 | e907 40f9 | 89a3 02f9 | fd03 0191
          0x0000ffff7ff02900: a107 40f9 | e003 1caa | e833 bfa9 | 88c4 85d2 | 48c7 b2f2 | e8ff dff2 | 0001 3fd6 | e833 c1a8
        ----------System.err:(11/636)----------
        java.lang.RuntimeException: ADRP instruction is expected on far jump
        at compiler.c2.aarch64.TestFarJump.runVM(TestFarJump.java:113)
        at compiler.c2.aarch64.TestFarJump.main(TestFarJump.java:127)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
        at java.base/java.lang.VirtualThread.run(VirtualThread.java:321)

        A repetition of the JDK-8284681?

        All the failed tests had '-Duse.JTREG_TEST_THREAD_FACTORY=Virtual' specified.

        Attachments

          Issue Links

            Activity

              People

                bulasevich Boris Ulasevich
                enikitin Evgeny Nikitin
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: