Re: Reflection vs MethodHandle performance in Oracle JDK 7u7

2012-10-15 Thread Ashwin Jayaprakash
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 (!!) *JDK 7u7* vs *JDK 8-ea-bin-b59-windows-x64-04_oct_2012* on Win 7, 64bit, 1 cpu x 2 core x 4 HT, i7 920 laptop:

Re: Reflection vs MethodHandle performance in Oracle JDK 7u7

2012-10-12 Thread Ashwin Jayaprakash
I ran the same test on a slightly older laptop with both JDK 7u7 and JDK 8-ea-bin-b59-windows-x64-04_oct_2012. Hardware is i5 M430 - 1 CPU x 2 Cores x 2 HT running Windows 7, 64 bit. The results are promising in JDK 8 for MethodHandles and strangely, Reflection and direct calls were slower than JD