[aarch64-port-dev ] Support large codecache for JDK8

Andrew Dinn adinn at redhat.com
Tue Mar 10 15:16:41 UTC 2015


On 10/03/15 14:30, Andrew Haley wrote:
> On 03/10/2015 12:08 PM, Andrew Dinn wrote:
>> . . .
>> I don't know the answer to the second question. Anyone who wants a
>> larger cache can select it by setting ReservedCodeCache. Is this in some
>> way inadequate?
> 
> I dunno.  That code didn't make it into the jdk9/dev tree upstream so
> we get 240*M.  However, the trampolines bloat the code quite a lot so
> maybe if we turned that cache size down it'd work better.  Answers on
> a postcard...

Hmm, well, since we own the jdk8 tree I can push and then we can try it :-)

> By the way, have you tested that the trampolines ect. work OK on JDK8?
> With a debug build they should be used with code sizes more than 2*M.

I have run netbeans with a slowdebug build, using it to rebuild and run
a sample project. Apart from being slow as treacle it ran fine.

regards,


Andrew Dinn
-----------



More information about the aarch64-port-dev mailing list