This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: libcj java.nio.DirectBuffer is slow (no inlining)
Andrew Haley writes:
> P.O. Gaillard writes:
>
> > 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.
>
> It's possible. It'd be intresting to find out.
>
> > Is it possible (safe, reasonable?) to compile libgcj with -O3 ? If
> > so why is the libgcj in FC5 not compiled that way ?
>
> I know for certain that it's a significant improvement for some of the
> crypto classes. In general, however, we lack data to know if the
> additional bloat justifies the increase in size.
additional speed justifies the increase in size.