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

AArch64: AOT compiled code crashes if C2 allocates r27

XMLWordPrintable

    • b20
    • 15
    • b08
    • aarch64
    • linux

        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"

              ngasson Nick Gasson
              ngasson Nick Gasson
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: