This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building java library is slow


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]