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

Andrew Haley aph at redhat.com
Fri Nov 14 11:48:27 UTC 2014


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.

Andrew.



More information about the aarch64-port-dev mailing list