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

AArch64: AOT compiled code crashes if C2 allocates r27

    Details

    • Subcomponent:
    • Introduced In Build:
      b20
    • Introduced In Version:
      15
    • Resolved In Build:
      b08
    • CPU:
      aarch64
    • OS:
      linux

      Backports

        Description

        AOT compiled code always assumes r27 is the heap base pointer, but since JDK-8242449 C2 can allocate it as a general register if the compressed class base is null.

        To reproduce:

        make test TEST="compiler/aot/cli/jaotc/CompileModuleTest.java" JTREG="VM_OPTIONS=-Xcomp -XX:-TieredCompilation"

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ngasson Nick Gasson
                  Reporter:
                  ngasson Nick Gasson
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: