[aarch64-port-dev ] RFR: 8193260: AArch64: JVMCI: Implement trampoline calls

Andrew Haley aph at redhat.com
Fri Dec 8 17:50:19 UTC 2017


AArch64 call instructions only have a 26-bit range, so if the code
cache is greater than 128 megabytes (and it is by default)
compilations will fail with out-of-range branches.

C1 and C2 solve this by generating trampolines for Java calls. The
Aarch64 JVMCI CodeInstaller doesn't ganerate trampolines, and we
should fix it so that it does.

Note that this webrev includes the necessary Graal changes.  Graal is
maintained separately, so these are only included FYI: they will have
to be reviewed after these JVMCI changes are in HotSpot.

Also note that this includes changes to shared and x86 code, so it'll
need a sponsor.

http://cr.openjdk.java.net/~aph/8193260-1/

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671


More information about the aarch64-port-dev mailing list