Be able to invoke a MethodHandle directly
Charles Oliver Nutter
charles.nutter at sun.com
Fri Oct 24 08:50:04 PDT 2008
� wrote:
> I know that invokedynamic spec should not be changed because
> it will improve the backport speed, but is there a use case for that
> feature ?
The obvious case I know of is simplifying the bootstrap logic; so rather
than having to create and install a MethodHandle AND invoke a method
directly yourself, you can just proceed to invoke the MethodHandle. In
the JRuby invokedynamic code this would be a bit simpler, since I could
just pass the incoming args straight through, rather than having to pull
them apart and call direct.
- Charlie
More information about the mlvm-dev
mailing list