Args list too long

Jeff Sturm jsturm@detroit.appnet.com
Thu Jan 11 20:33:00 GMT 2001


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.

Jeff



More information about the Java mailing list