Invokedynamic and recursive method call
John Rose
john.r.rose at oracle.com
Fri Jan 30 00:48:03 UTC 2015
On Jan 7, 2015, at 8:13 AM, Remi Forax <forax at univ-mlv.fr> wrote:
>
> But if fibo is called through an invokedynamic, instead of emitting a direct call to fibo,
> the JIT generates a code that push the method handle on stack and execute it
> like if the metod handle was not constant
> (the method handle is constant because the call at depth=1 is inlined !).
Invocation of non-constant MH's had a performance regression with the LF-based implementation.
As of JDK-8069591 they should be no slower and sometimes faster than the old implementation.
— John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20150129/d2084e37/attachment-0001.html>
More information about the mlvm-dev
mailing list