PATCH: Make Makefile.am work in parallel

Tom Tromey tromey@redhat.com
Mon May 6 23:32:00 GMT 2002


>>>>> "Mark" == Mark Mitchell <mark@codesourcery.com> writes:

Mark> Or tell the compiler to put the .class files right next to where
Mark> they want to go and then run "mv" right when you were done.
Mark> That would be atomic; either the file is there or it ain't.  Can
Mark> we control where the .class files goes in that way?

Yes, I think all .class files are written via write_classfile() in
java/jcf-write.c.

Ultimately it might be fastest for us to parallelize and run one gcj
invocation per package, or something similar.  Generating multiple
class files from a single invocation really does help.
Experimentation is required.

Tom



More information about the Java-patches mailing list