Projects, which use JSR292

Christian Thalinger christian.thalinger at oracle.com
Wed Feb 16 09:21:25 PST 2011


On Feb 16, 2011, at 6:12 PM, Charles Oliver Nutter wrote:
> 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?

Slower.  I can't think of any changes we made recently that would have changed that.

> 
> 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!

When this is in, I try to confirm your numbers.

-- Christian


More information about the mlvm-dev mailing list