Review request for JDK-8037534

Attila Szegedi attila.szegedi at
Wed Mar 19 16:33:44 UTC 2014

Please review JDK-8037534 at

From the JIRA issue: 

"When doing on-demand compilation, we can use the current runtime scope to look up types of variables in scope; if they're already wider than the current optimistic assumption, we can use that type and cut down on number of recompilation."

This cuts down warmup time with optimistic compilation. In Octane tests, box2d now does 1300 deoptimizations instead of 1552 while it warms up, and earley-boyer is down to 1577 from whopping 3028.


More information about the nashorn-dev mailing list