Reflection vs MethodHandle performance in Oracle JDK 7u7
John Rose
john.r.rose at oracle.com
Mon Oct 15 13:13:48 PDT 2012
On Oct 15, 2012, at 11:56 AM, Ashwin Jayaprakash wrote:
> Remi, you were right. Disabling tiered compilation sped things up a bit. But, everything except MethodHandles is slower in JDK 8 than in JDK 7u7. Especially static and virtual calls (!!)
Two hypotheses come to mind:
* static and virtual calls are slower in 8
* the comparison method is flawed
Guess which one I bet is true?
I added a couple more links to this page, plus a note about TieredCompilation:
https://wikis.oracle.com/display/HotSpotInternals/MicroBenchmarks
— John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20121015/29f2e36a/attachment.html
More information about the mlvm-dev
mailing list