Projects, which use JSR292

Charles Oliver Nutter headius at headius.com
Wed Feb 16 09:12:41 PST 2011


On Wed, Feb 16, 2011 at 4:00 AM, Christian Thalinger
<christian.thalinger at oracle.com> wrote:
>> I'm still a little skeptical about that.  What benchmarks did you run?

Skeptical? Do you think it should be faster or slower?

I was comparing recursive fib (bench_fib_recursive.rb) with normal
JRuby versus JRuby + indy. Normal was around 0.16-0.17s for fib(30)
and indy was around 0.11-0.12s.

> Btw. when I try indy JRuby I get:
>
> $ bin/jruby.sh -J-Djruby.compile.invokedynamic=true -J-XX:+UnlockExperimentalVMOptions -J-XX:+EnableMethodHandles -J-XX:+EnableInvokeDynamic test/test_array.rb
> VM option '+UnlockExperimentalVMOptions'
> VM option '+EnableMethodHandles'
> VM option '+EnableInvokeDynamic'
> LoadError: load error: builtin/java/org.jruby.ast -- java.lang.RuntimeException: java.lang.IllegalArgumentException: bad reorder array

Ahh, I must still have one or more of my permutes botched. I'll try to
fix this up today. Thanks!

- Charlie


More information about the mlvm-dev mailing list