This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Building java library is slow
- From: Tom Tromey <tromey at redhat dot com>
- To: lucier at math dot purdue dot edu
- Cc: gcc at gcc dot gnu dot org
- Date: 27 Mar 2002 20:09:40 -0700
- Subject: Re: Building java library is slow
- References: <200203280123.g2S1N2d14077@banach.math.purdue.edu>
- Reply-to: tromey at redhat dot com
>>>>> "Brad" == lucier <lucier@math.purdue.edu> writes:
Brad> The java library seems to be made serially, even when "make -j
Brad> 8' is specified.
Do you mean building the .o files or the .class files?
(If the gcj invocation has `-C' then it is the .class files.)
I wonder whether it is even possible for us to build the .class files
in parallel. Suppose one invocation of gcj starts writing a .class
file just as another invocation needs that class. The second
invocation could see an incomplete file.
Our eventual plan is to build all the .class files with a single gcj
invocation. This will speed things up, but it won't really help on
parallel machines the way that -jN does (unless we add threads to gcj
I guess). I believe we currently don't do this due to bugs. I
haven't actually tried it in a while.
Tom