Invokedynamic slower than reflection?
Stephen Bannasch
stephen.bannasch at deanbrook.org
Fri Jul 30 22:09:51 PDT 2010
>Eric's test Hello.java works OK, but your test, Rémi, fails (Fib4.java). So it is a second bug.
>
>Stephen, I left a comment: http://gist.github.com/500808
>
>Gist of the gist is: -XX:+UnlockExperimentalVMOptions -XX:+EnableInvokeDynamic
Thanks John, I figured it was something simple like that ;-)
On my system invokedynamic is almost 17x faster:
Duration invokedynamic: 93
Duration reflection: 1564
More information about the mlvm-dev
mailing list