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

A. Sundararajan sundararajan.athijegannathan at oracle.com
Wed Mar 12 08:29:22 UTC 2014


+1

Looks good

-Sundar

On Tuesday 11 March 2014 04:25 PM, Hannes Wallnoefer 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