This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch for Review: Build all libjava .class files at once (Updated Again)
Tom Tromey writes:
> >>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:
>
> Andrew> I note that this causes the compiler to expand to a resident set size
> Andrew> of some 266 Mbytes. On some machines this could cause sever
> Andrew> thrashing, and maybe libgcj can't be built at all.
>
> Is this worse than what happens when linking libgcj.so?
> On my machine they feel similarly crippling.
It's similar.
If we're going to compile all the .calss files in a lump I'm tempted
to try the same thing with compiling libgcj from source. We'd do lots
of inlining and avoid many PLT indirections. I suppose compiling all
of libgcj this way would probably be out of the question, but pieces
with good locality might work well.
Andrew.