RFR: 8204341: AArch64: AOT runtime does not need a workaround for far calls
Vladimir Kozlov
vladimir.kozlov at oracle.com
Tue Jun 5 16:40:36 UTC 2018
Got it. Thanks.
Vladimir
On 6/5/18 9:35 AM, Andrew Haley wrote:
> 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.
>
More information about the hotspot-compiler-dev
mailing list