Review request for JDK-8035712

Attila Szegedi attila.szegedi at
Mon Feb 23 14:59:00 UTC 2015

Please review JDK-8035712 at <> for <>

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.


More information about the nashorn-dev mailing list