RFR: 8162955: Activate anonymous class loading for small sources

Marcus Lagergren marcus at lagergren.net
Tue Aug 9 09:24:56 UTC 2016


Do you have any benchmark examples with better and worse results?

Just curious

/M

> On 04 Aug 2016, at 13:48, Hannes Wallnöfer <hannes.wallnoefer at oracle.com> wrote:
> 
> Please review 8162955: Activate anonymous class loading for small sources.
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8162955
> Webrev: http://cr.openjdk.java.net/~hannesw/8162955/webrev/
> 
> The size threshold of 512 bytes I chose is arbitrary. It seems to fit all reported cases which consist of firing lots of one-liner scripts where quick loading is more important than optimization.
> 
> Thanks,
> Hannes



More information about the nashorn-dev mailing list