review request (L): 6939224 MethodHandle.invokeGeneric needs to perform the correct set of conversions
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.
> 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
More information about the hotspot-compiler-dev