JRuby can't compile benchmark. Also package renaming
Charles Oliver Nutter
headius at headius.com
Wed Apr 6 08:17:23 PDT 2011
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.
2. I can fix the package reference quickly, but I'm using Rémi's
backport/mock which is still on java.dyn. I can't commit changes to
JRuby master that won't build on Java 6 and below, and I need the mock
for that. I could, however, make the change on a branch...so I'll do
that for now.
- Charlie
On Wed, Apr 6, 2011 at 2:36 AM, Kirill Shirokov
<kirill.shirokov at oracle.com> wrote:
> Hi Charlie,
>
> 1. There is a problem with JRuby: starting from b136 of JDK7, ruby refuses to compile benchmark when -Xcompile.invokedynamic=true:
>
> $ bin/jruby -X+C -Xcompile.invokedynamic=true bench/bench_fib_recursive.rb
> RuntimeError: could not compile and compile mode is 'force': bench/bench_fib_recursive.rb
>
> $ bin/jruby -X+C bench/bench_fib_recursive.rb
> <normal output of this benchmark>
>
> I can file a bug at bugs.jruby.org.
>
> 2. Are there any plans to update JRuby to use java.lang.invoke instead of java.dyn (it is a simple change, right?).
>
> Best regards,
> Kirill
>
>
>
>
More information about the mlvm-dev
mailing list