GCC 3.3, GCC 3.4

Tim Josling tej@melbpc.org.au
Tue Feb 4 20:07:00 GMT 2003


Tim Hollebeek wrote:
> 
> > Use a simple contiguous allocator, up to a certain amount of memory. If that
> > runs out, restart the compile using ggc-page. Most compiles would not be
> > affected, and the few that do need GC will get it without too much overhead.
> > You could have an option -ggc-force to avoid the restarts.
> 
> it would be even more interesting to find a (perhaps file size based)
> heuristic that can predict memory needs well enough to usually get the
> decision right up front.
> 
> -Tim

Yes, however if you choose no-gc you need to be able to switch if you look
like running out of memory.

Tim Josling



More information about the Gcc mailing list