> On Jan 29, 2015, at 4:48 PM, John Rose <john.r.r...@oracle.com> wrote: > > On Jan 7, 2015, at 8:13 AM, Remi Forax <fo...@univ-mlv.fr > <mailto:fo...@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.
Maybe but what Remi is saying that the MH is constant and we could emit a direct call. > — John > > _______________________________________________ > mlvm-dev mailing list > mlvm-dev@openjdk.java.net > http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
_______________________________________________ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev