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

Lindenmaier, Goetz goetz.lindenmaier at sap.com
Tue Nov 18 14:37:40 UTC 2014


Hi Andrew, 

I didn't notice anything rude ... maybe my english isn't good enough? ;)
We’re always happy if our solutions are useful to others!

All fine,
  Goetz.


-----Original Message-----
From: Andrew Haley [mailto:aph at redhat.com] 
Sent: Dienstag, 18. November 2014 15:23
To: Lindenmaier, Goetz; aarch64-port-dev at openjdk.java.net
Subject: Re: AARCH64: 8064611: Changes to HotSpot shared code

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