review request (L): 6939224 MethodHandle.invokeGeneric needs to perform the correct set of conversions
Fredrik Öhrström
oehrstroem at gmail.com
Mon Sep 13 03:05:54 PDT 2010
Why do an upcall to Java? The conversions should be so simple that it
should be possible to handle them in the interpreter.
2010/9/12 John Rose <john.r.rose at oracle.com>:
> 6939224: MethodHandle.invokeGeneric needs to perform the correct set of conversions
>
> Until now, the HotSpot JVM has conflated invokeExact with invokeGeneric. These changes, combined with forthcoming JDK runtime support changes, provide a hook for the JVM to perform on-the-fly argument conversions in invokeGeneric calls, as specified by the JSR 292 EG.
>
> http://cr.openjdk.java.net/~jrose/6939224/webrev.00/
>
> This review is for the JDK parts, which (a) distinguishes correctly between the two invocation modes, and (b) performs an upcall to Java code when argument types need matching.
>
> -- John
>
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
>
More information about the hotspot-compiler-dev
mailing list