This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Speed up garbage collector
- To: Mark Mitchell <mark at codesourcery dot com>
- Subject: Re: Speed up garbage collector
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Date: Wed, 27 Jun 2001 07:16:05 +0100
- Cc: Ira Ruben <ira at apple dot com>,"gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
Mark Mitchell wrote:-
> I think we should be careful going down this path. Increasing the memory
> usage is a very major issue; we already start swapping on some not too
> big files on moderately reasonable systems and if we start to swap we
> far outweight the benefits of your change. Instead, what we want is
> a generational collector -- I know how to do this, but I haven't had
> the resources to do it just yet.
Matt Kraai posted a simple patch that reduced the memory usage of GCC
so much that he was able to bootstrap with the patch, but his machine
with 64K of memory could not bootstrap without it. The other good
thing, IMO, about the patch is that is just deletes code :-)
Unfortunately, it was another patch that didn't get any reviews. We
really shouldn't let these things slip through the net:-
http://gcc.gnu.org/ml/gcc-patches/2001-05/msg01448.html
Note that Matt has SSH write access, and he and his employer have
stuff filed with the FSF for GCC.
Neil.