Good news, bad news
Charles Oliver Nutter
headius at headius.com
Mon May 23 11:45:25 PDT 2011
On Mon, May 23, 2011 at 11:05 AM, Christian Thalinger
<christian.thalinger at oracle.com> wrote:
> I was on vacation for a couple of days but now I'm back.
>
> I looked at the inlining tree for fib_recursive and I can't see the fib_ruby method getting compiled. But instead I see something I've never seen before:
>
> 2949 105 org.jruby.ast.CallOneArgNode::interpret (34 bytes)
>
> or
>
> 2997 108 ! org.jruby.evaluator.ASTInterpreter::INTERPRET_METHOD (126 bytes)
>
> Does that mean JRuby doesn't compile these methods but interpret them?
Hmm, I wonder if there's a problem somewhere preventing JIT now. Run
JRuby with -d -X+C to debug logging and force compilation. I will look
into it today myself.
I did see fib_ruby compile and was able to get assembly dumps out, but
it performed terribly. I'll try to make extra sure everything's
jitting.
Ahh the joys of a mixed-mode runtime, eh?
- Charlie
More information about the mlvm-dev
mailing list