This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: an experiment with garbage collection


>   (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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]