This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Hello,

I am using the gcj 4.1 that came with Fedora Core 5 and the NIO buffers are quite slow. From what I see with Oprofile, I would say that this is because the code is not inlined.

Is it possible (safe, reasonable?) to compile libgcj with -O3 ? If so why is the libgcj in FC5 not compiled that way ?

Also, I have noticed that inlining does not seem to happen with methods from other classes and non final methods. Am I right ?

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 ?


thank you very much for your attention,


P.O. Gaillard


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]