[kaffe] Re: m68k/jit3 can print "Hello World!"

Dalibor Topic robilad at kaffe.org
Fri Jul 30 04:21:41 PDT 2004


Kiyo Inaba wrote:
> Hi again,
> 
> I made a mistake. The function which causes SEGV is
> 	ResourceBundle.tryBundle
> 
> BTW, I compared the performance between jit and jit3 for m68k.
> This was once discussed in this ML for several years (...) ago,
> but I think there were no conclusion.
> 
> Simple test to use HelloWorldApp.class with jit
> $ time $JAVA HelloWorldApp
> Hello World!
>        59.19 real        51.03 user         7.34 sys
> And with jit3
> $ time $JAVA HelloWorldApp
> Hello World!
>        66.18 real        58.06 user         7.23 sys
> 
> Of course it may vary between test case, and I hope I will report
> more results in the future. But at least for this simple case,
> jit3 is slower than jit on m68k/netbsd. This is same result with
> m68k/linux last time.

It would be interesting to see if the difference comes from the time 
spent jitting the code, or from differences in generated code, dealing 
with registers, etc.

cheers,
dalibor topic




More information about the kaffe mailing list