This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 3.3, GCC 3.4
- From: Tim Hollebeek <tim at hollebeek dot com>
- To: Tim Josling <tej at melbpc dot org dot au>
- Cc: gcc at gcc dot gnu dot org, Neil Booth <neil at daikokuya dot co dot uk>, Mike Stump <mrs at apple dot com>, Benjamin Kosnik <bkoz at redhat dot com>
- Date: Mon, 3 Feb 2003 16:29:08 -0800
- Subject: Re: GCC 3.3, GCC 3.4
- References: <1043976898.27601.ezmlm@gcc.gnu.org> <3E3E226F.1DA63EDF@melbpc.org.au>
- Reply-to: tim at hollebeek dot com
> 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