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

hg: mlvm/mlvm/hotspot: value-obj: first cut

2012-10-12 Thread john . r . rose
Changeset: aa8f59e8372f Author:jrose Date: 2012-10-12 12:35 -0700 URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/aa8f59e8372f value-obj: first cut ! series ! value-obj.patch < final-obj.patch ! value-obj.txt ___ mlvm-dev mailing l

Re: Bug report: failing to call overridden method

2012-10-12 Thread Christian Thalinger
On Oct 9, 2012, at 5:27 PM, Charles Oliver Nutter wrote: > I reported this to Christian, but thought I'd toss it here in case > someone else runs into it. > > It appears that C1 (tier 1) is failing to compile a indy + MH virtual > target into a proper overridden call. In other words, it doesn't

Re: Reflection vs MethodHandle performance in Oracle JDK 7u7

2012-10-12 Thread Christian Thalinger
Could you rerun the test with a recent JDK 8 build? -- Chris On Oct 10, 2012, at 3:02 PM, Ashwin Jayaprakash wrote: > Hi, I was looking at the Java 7 InvokeDynamic/MethodHandle feature set and I > was curious to know how it performed compared to good old Reflection. > > I had refrained from