review request (L): 6939224 MethodHandle.invokeGeneric needs to perform the correct set of conversions
john.r.rose at oracle.com
john.r.rose at oracle.com
Mon Sep 13 11:36:10 PDT 2010
There is no up-call. The JVM just tail-calls an adapter previously prepared by the JDK runtime. So the interpreter has no special paths other than the slow path with the tail call.
I think your implementation put the adapter on a method header. I put it on the method type family (the "form").
-- John (on my iPhone)
On Sep 13, 2010, at 3:05 AM, Fredrik Öhrström <oehrstroem at gmail.com> wrote:
> Why do an upcall to Java? The conversions should be so simple that it
> should be possible to handle them in the interpreter.
More information about the mlvm-dev
mailing list