Trying to work newer indy into JRuby

John Rose John.Rose at Sun.COM
Mon May 25 19:04:49 PDT 2009


On May 19, 2009, at 3:37 PM, Charles Oliver Nutter wrote:

> Woah, now that's wild. Can you elaborate on that at all? Would the MHs
> essentially be the nodes of an IR?

It certainly deserves elaboration.  My previous message gave a few  
more points about combineArguments.

Fredrik's blog entry of today shows how one can be build IR-like  
graphs out of method handles, and how the compiler can combine them  
into good code.  When you combine that plus a semi-constant root  
method handle at each call site (via invokedynamic) you have the  
design center of JSR 292 as it stands today.

(For the future, interface injection is waiting in the wings, as well  
as other interesting things...)

-- John



More information about the mlvm-dev mailing list