This is the mail archive of the
mailing list for the Java project.
Re: Args list too long
- To: Bryce McKinlay <bryce at albatross dot co dot nz>
- Subject: Re: Args list too long
- From: Jeff Sturm <jsturm at detroit dot appnet dot com>
- Date: Thu, 11 Jan 2001 23:31:56 -0500 (EST)
- cc: tromey at redhat dot com, "Bradley A. Smith" <yeldar at home dot com>, java-discuss at sources dot redhat dot com
On Fri, 12 Jan 2001, Bryce McKinlay wrote:
> One of my ideas for "future gcj" is that it should be able to treat an entire
> package as a single compilation unit and generate a single object file from it.
> This would also have the benefit of making certain optimizations easier, like
> inlining of package-private methods. Maybe this would need a lot of memory in same
> cases though.
Surely not as much memory as some of the hairier C++ templates... <g>
This sounds a lot like what Per Bothner is saying. It makes sense to
me... though I don't really buy the compilation time argument in the case
when making only 1 or 2 sources in a large package. It seems like an
all-or-nothing package build. Unfortunately some of my packages are quite
ridiculously large, consisting of hundreds of java sources.