Surinx + backport

Rémi Forax forax at univ-mlv.fr
Fri Sep 11 07:07:48 PDT 2009


Le 11/09/2009 14:43, Charles Oliver Nutter a écrit :
> On Fri, Sep 11, 2009 at 3:34 AM, Rémi Forax<forax at univ-mlv.fr>  wrote:
>    
>> First, Charles, there is a bug in compiler.rb that prevent me to use Surinx.
>>
>> This bug was already present in Duby but I don't remember if I report it or
>> not.
>> The compiler generate a LDC + forName with a name containing slash ('/')
>> instead of dot ('.')
>>      
> Ahh, thanks for this :) I will patch it.
>
>    
>> Here are the result with the backport:
>> [forax at localhost surinx]$ /usr/jdk/jdk1.6.0_11/bin/java -cp .:src
>> -javaagent:../indy-backport2/lib/jsr292-backport.jar examples/fib
>> hello
>> 1.001
>> 0.051
>> 0.052
>> 0.078
>> 0.074
>>      
> These are definitely good results, comparable to what I was getting
> with MLVM + the inlining patch!
>    
Cool !
I will try that this evening.

> I need to spend some time playing with backport + JRuby soon.
>    
The problem with JRuby is that the code blob generated by the backport 
optimizer
from the mh adapter tree is too big to be inlined.
This is partially my fault because sometimes the backport doesn't 
generate the
most efficient code.
> - Charlie
>    
Rémi


More information about the mlvm-dev mailing list