This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: an experiment with garbage collection
- To: rth at cygnus dot com
- Subject: Re: an experiment with garbage collection
- From: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Date: Sat, 9 May 1998 22:49:32 +0100 (BST)
- Cc: egcs at cygnus dot com
> (1) We will only garbage collect rtl and trees. Everything else
> will eventually be converted to use plain malloc/free.
I don't think that makes sense. In some cases, there are actaully a lot
of small temporary allocations of non-tree non-rtl objects which
are to be released together; these are most easily handled whith obstacks.
Just cut the obstack usage down to such applications where they are
a natural fit.