Review request for JDK-8035712
Attila Szegedi
attila.szegedi at oracle.com
Mon Feb 23 14:59:00 UTC 2015
Please review JDK-8035712 at <http://cr.openjdk.java.net/~attila/8035712/webrev.00> for <https://bugs.openjdk.java.net/browse/JDK-8035712>
This change restores some of the pre-static analysis (and pre-optimistic typing) RuntimeCallSite specialization functionality, without actually using RuntimeCallSite. Basically, equality and relational operators where one operand is a number (or boolean for less-than and friends) and the other is an object are executed more efficiently, by weakening the object operand to a number. Previously, this was compiled to boxing the number and using generic ScriptRuntime.EQ, LT, etc.
Thanks,
Attila.
More information about the nashorn-dev
mailing list