JRuby can't compile benchmark. Also package renaming
Kirill Shirokov
kirill.shirokov at oracle.com
Wed Apr 6 15:45:47 PDT 2011
On 04/06/2011 07:17 PM, Charles Oliver Nutter wrote:
> 1. You can pass -d to JRuby to get the debug output from the failure,
> or -Xjit.logging.verbose=true. I can take a look at this as soon as I
> can update to java.lang.invoke.
The compilation error is most probably caused by package rename:
warning: could not compile: bench/bench_fib_recursive.rb; full trace follows
java.lang.NoClassDefFoundError: java/dyn/CallSite
at org.jruby.runtime.invokedynamic.InvokeDynamicSupport.<clinit>(InvokeDynamicSupport.java:463)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:186)
at org.jruby.compiler.impl.StandardASMCompiler.<clinit>(StandardASMCompiler.java:194)
at org.jruby.Ruby.tryCompile(Ruby.java:640)
at org.jruby.Ruby.tryCompile(Ruby.java:627)
at org.jruby.Ruby.runNormally(Ruby.java:567)
at org.jruby.Ruby.runFromMain(Ruby.java:424)
at org.jruby.Main.doRunFromMain(Main.java:278)
at org.jruby.Main.internalRun(Main.java:198)
at org.jruby.Main.run(Main.java:164)
at org.jruby.Main.run(Main.java:148)
at org.jruby.Main.main(Main.java:128)
RuntimeError: could not compile and compile mode is 'force': bench/bench_fib_recursive.rb
Thank you!
Kirill
More information about the mlvm-dev
mailing list