Please review Range Analysis (JBS-8006069)
A. Sundararajan
sundararajan.athijegannathan at oracle.com
Mon May 20 06:20:27 PDT 2013
+1
-Sundar
On Monday 20 May 2013 05:58 PM, Marcus Lagergren wrote:
> Webrev @: http://cr.openjdk.java.net/~lagergren/8006069/
>
> Range analysis, trying to narrow known compile time types to narrower ones. (typically doubles to ints or longs).
>
> Range analysis is disabled by default, enabled with flag --range-analysis. Aiming to make it default after testing. I've added unit tests to provide sanity check (same results) and code coverage that runs with the flag enabled.
>
> I've also done some changes to RecompilableScriptFunctionData to specialize more aggressively and based on runtime types if those are more specific than types known at compile time (adding guards to verify that the assumption holds). Still disabled by default (--specialize-calls is the flag). 25% performance increase on octane.crypto running with it enabled.
>
> These changes provide an infrastructure for trickle-through of all known compile type information, but this is not enough for performance. We need to do even more aggressive things at runtime.
>
> /M
>
>
>
More information about the nashorn-dev
mailing list