RFR: 8204341: AArch64: AOT runtime does not need a workaround for far calls
Andrew Haley
aph at redhat.com
Tue Jun 5 16:35:09 UTC 2018
On 06/05/2018 05:17 PM, Vladimir Kozlov wrote:
> On 6/5/18 8:44 AM, Andrew Haley wrote:
>> On 06/05/2018 04:35 PM, Vladimir Kozlov wrote:
>>
>>> Lucky you - you have already functionality to deal with far calls.
>>> From changes it seems you will always use trampolines for calls
>>> (regardless distance). Right?
>>
>> Not exactly. The trampolines are always generated, but are only used
>> if a branch does not reach.
>
> I thought that far_branches() returning always true in UseAOT case
> will cause using trampolines. So it is different.
far_branches() returns true if we need to generate trampolines: we
only use them in the patching code if a branch won't reach.
--
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 hotspot-compiler-dev
mailing list