Review request for JDK-8021350: Share script classes between threads/globals within context

Marcus Lagergren marcus.lagergren at oracle.com
Tue Mar 11 19:50:39 UTC 2014


+1. Comments addressed from my earlier review. Thanks for this. 

On 11 Mar 2014, at 11:55, Hannes Wallnoefer <hannes.wallnoefer at oracle.com> wrote:

> Please review JDK-8021350: Share script classes between threads/globals within context:
> 
> http://cr.openjdk.java.net/~hannesw/8021350/webrev.01/
> 
> This makes script classes reusable by using appropriate guards and/or using dynamic parameter lookups instead of static bindings. Overall performance should roughly be the same. Applications that load the same script repeatedly will significantly benefit from this change, for example ant test262parallel runs more than twice as fast.
> 
> Thanks,
> Hannes



More information about the nashorn-dev mailing list