3 messages in net.java.openjdk.mlvm-devRe: JRuby success!
FromSent OnAttachments
Charles Oliver NutterMay 27, 2009 1:08 pm 
Martin C. MartinMay 27, 2009 2:46 pm 
Nicholas RileyMay 27, 2009 10:58 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: JRuby success!Actions...
From:Nicholas Riley (njri@uiuc.edu)
Date:May 27, 2009 10:58:49 pm
List:net.java.openjdk.mlvm-dev

In article <4A1D@sun.com>, Charles Oliver Nutter <char@sun.com> wrote:

The exception-handling logic I'm not sure about. This seems to be a possible gap in primitive method handles: an exception-handling method handle that can wrap another handle with additional logic. I'm not sure exactly how it would manifest itself in the API.

This seems to be a big gap with Jython too. Pretty much all of Jython's lookup and dispatch logic could be done with composed method handles, but exception handling doesn't fit this pattern. The only thing I could think to do for now would be to put the exception logic at the call site, surrounding the invokedynamic; from some benchmarks I did a few months ago it doesn't seem like the overhead is that high.