Invokedynamic slower than reflection?
Rémi Forax
forax at univ-mlv.fr
Fri Jul 30 08:30:35 PDT 2010
Le 30/07/2010 08:40, Chanwit Kaewkasi a écrit :
> Hi Rémi,
>
> I did freshly build mlvm and run Eric's test.
> Here's my result:
>
> Duration invokedynamic: 103
> Duration reflection: 1463
>
> The patch seems to be working for me as InvokeDynamic is clearly
> faster than Reflection on my machine.
>
> Cheers,
>
> Chanwit
>
Hi Chanwit,
It seems I'm not able to get a mlvm build right :)
Can you test with this snippet ?
java -server ... -XX:+PrintCompilation Fib4
and report if you see lot of lines like "blob made no re-entrant"
indicating too much deopt.
cheers,
Rémi
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Fib4.java
Url: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20100730/71838ef6/attachment.ksh
More information about the mlvm-dev
mailing list