PATCH: Make Makefile.am work in parallel
Tom Tromey
tromey@redhat.com
Mon May 6 21:17:00 GMT 2002
>>>>> "Anthony" == Anthony Green <green@redhat.com> writes:
Anthony> I think this change is unreliable because there's a
Anthony> reasonable chance that the compiler may read a partially
Anthony> written .class file and barf.
I agree.
Anthony> Perhaps if there were some way to tell the compiler to only
Anthony> read .java files -- but that would slow things down a fair
Anthony> bit.
I think if we build all the .class files with a single gcj invocation,
things will speed up. Of course, that isn't parallelizable :-(. But
then I think in general this is a flaw of the Java compilation model.
Last time we tried to build all the .class files at once we ran into a
gcj bug. I haven't looked since, but based on recent Classpath
experience I'd say we will probably need some minor source tweaks to
get it to work.
Tom
More information about the Java-patches
mailing list