Still crashity crashing

Rémi Forax forax at univ-mlv.fr
Mon Aug 3 08:25:34 PDT 2009


Le 03/08/2009 16:11, Charles Oliver Nutter a écrit :
> On Mon, Aug 3, 2009 at 9:15 AM, Rémi Forax<forax at univ-mlv.fr>  wrote:
>    
>> Hi Charles,
>>
>> I try to compile jruby (1.4.0dev)
>> and I go an error saying that ivy/build.xml doesn't exists.
>>
>> So I chnage the line 49 of the build.xml to optionally
>> to the import file:
>>      

sometimes I you read my mail before send it.

>> <import file="ivy/build.xml" optional="true" />
>>
>> and It seems to work.
>>      
>
> Odd...ivy/build.xml should be there. Anyway, let me know if you have
> any other problems.
>
>    

Hi Charlie,
I manage to be able to use the backport with you're code
but you really a rogue, you load your classes with the bootstrap classpath
(I suppose you bypass the verifier to start faster)
and guess what, by default, the backport doesn't take care about
classes loaded by the boot classpath.

I think it's time to re-consider the default behaviour of the backport 
agent :)

But there is something more problematic,
the backport optimizer doesn't play well with your compiler :(

time bin/jruby -J-Djruby.jit.logging.verbose=true 
bench/bench_fib_recursive.rb 100
real    0m38.457s
user    0m38.115s
sys    0m0.164s

time bin/jruby -J-javaagent:../indy-backport/lib/jsr292-backport.jar 
-J-Xbootclasspath/p:../indy-backport/lib/jsr292-backport.jar 
-J-Djruby.compile.invokedynamic=true -J-Djruby.jit.logging.verbose=true 
bench/bench_fib_recursive.rb 100
real    4m51.625s
user    4m45.040s
sys    0m4.640s

Could you explain how the compiler works and what are these classes  ?

agent 
ruby/jit/ruby/home/forax/java/workspace/jruby_minus_1_dot_4_dot_0dev/lib/ruby/$1_dot_8/benchmark/format7681932_5430994
agent 
ruby/jit/ruby/home/forax/java/workspace/jruby_minus_1_dot_4_dot_0dev/lib/ruby/$1_dot_8/benchmark/format7681932_5430994BlockCallback$block_0$RUBY$__block__xx1
agent 
ruby/jit/ruby/home/forax/java/workspace/jruby_minus_1_dot_4_dot_0dev/lib/ruby/$1_dot_8/benchmark/format7681932_5430994BlockCallback$block_1$RUBY$__block__xx1
agent 
ruby/jit/ruby/home/forax/java/workspace/jruby_minus_1_dot_4_dot_0dev/lib/ruby/$1_dot_8/benchmark/format7681932_5430994BlockCallback$block_2$RUBY$__block__xx1
agent 
ruby/jit/ruby/home/forax/java/workspace/jruby_minus_1_dot_4_dot_0dev/lib/ruby/$1_dot_8/benchmark/format7681932_5430994BlockCallback$block_3$RUBY$__block__xx1
agent 
ruby/jit/ruby/home/forax/java/workspace/jruby_minus_1_dot_4_dot_0dev/lib/ruby/$1_dot_8/benchmark/format7681932_5430994BlockCallback$block_4$RUBY$__block__xx1
agent 
ruby/jit/ruby/home/forax/java/workspace/jruby_minus_1_dot_4_dot_0dev/lib/ruby/$1_dot_8/benchmark/format7681932_5430994BlockCallback$block_5$RUBY$__block__xx1
agent 
ruby/jit/ruby/home/forax/java/workspace/jruby_minus_1_dot_4_dot_0dev/lib/ruby/$1_dot_8/benchmark/format7681932_5430994BlockCallback$block_6$RUBY$__block__xx1


> - Charlie
>    

Rémi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20090803/7c045d69/attachment.html 


More information about the mlvm-dev mailing list