[aarch64-port-dev ] AARCH64: 8064611: Changes to HotSpot shared code

Andrew Haley aph at redhat.com
Tue Nov 18 14:23:01 UTC 2014


On 11/14/2014 11:48 AM, Andrew Haley wrote:
> On 11/14/2014 11:27 AM, Lindenmaier, Goetz wrote:
>> on PPC, we solved this with the trampoline stubs we introduced.
>>
>> Short calls are done directly.  If we need a longer call, we jump to the
>> trampoline stub that does the load from the  constant pool.
>> So short calls are efficient, but longer ones have an overhead of a short
>> branch.  Another advantage for us is that we can schedule the short
>> branch for Power6 well.
>>
>> Drawback is that the trampoline stub is sitting there for every call, 
>> wasting code cache and constant pool entries.
> 
> Yes, I considered that too.

I apologize for being rude.  Your solution to this problem is actually
rather nice, and I might do something similar.

Andrew.


More information about the aarch64-port-dev mailing list