On May 23, 2011, at 8:45 PM, Charles Oliver Nutter wrote: > On Mon, May 23, 2011 at 11:05 AM, Christian Thalinger > <christian.thalin...@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 didn't use -X+C but it should compile without it too, right? And, btw, I used JDK 7 b143. I try again tomorrow. -- Christian > > 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 > _______________________________________________ > mlvm-dev mailing list > mlvm-dev@openjdk.java.net > http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev _______________________________________________ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev