libcj java.nio.DirectBuffer is slow (no inlining)

Andrew Haley aph@redhat.com
Tue Jun 6 17:44:00 GMT 2006


Andrew Haley writes:
 > P.O. Gaillard writes:
 > 
 > 
 > > Gnat has the infrastructure to do inlining between separate
 > > compilation units with -gnatn. This can bring great performance
 > > improvements for code with lots of small methods. Is this feature
 > > also available for GCJ ?
 > 
 > Why not simply compile the files together? I'm not sure I see the
 > advantage of this at all.
I was wrong when I wrote this; it is beneficial to inline methods in
some system classes. We could certainly do this, and I don't think it
would be very hard.
Andrew.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /