This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Release RTL bodies after compilation (sometimes)
Michael Matz <matz@suse.de> writes:
> Hi,
>
> On Wed, 15 Sep 2004, David Edelsohn wrote:
>
> > >>>>> Daniel Jacobowitz writes:
> >
> > Daniel> I don't think your "definition" is correct, or that marking objects as
> > Daniel> explicitly free conflicts with the design of using a garbage collector.
> >
> > Diego's definition is correct. If the memory is not getting
> > collected at the next GC phase, figure out why the GC still sees a
> > reference.
>
> Oh, it will be collected (if it really is free). That's not the point.
> The point is, that currently collection is slower the more things it has
> to walk.
Things that are no longer referenced (and will be freed) will not be walked.