Performance comparison

Bryce McKinlay bryce@waitaki.otago.ac.nz
Mon Jul 29 18:20:00 GMT 2002


Norman Hendrich wrote:

>I suspect that gcj is possibly just missing to inline one or two
>critical functions. 
>

Right, in fact currently GCJ does no inlining at all. Inlining will 
certainly improve performance significantly (depending on the 
application) if it is done well.

>Any other compiler options I should try?
>

-finline-functions can still be used to turn on the old inliner. That 
code is not smart and will miss many inline opportunities, but it might 
still be interesting to see if it makes a difference to your application.

regards

Bryce.




More information about the Java mailing list