This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] mark_hook in GTY?
- From: Steven Bosscher <stevenb dot gcc at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Basile STARYNKEVITCH <basile at starynkevitch dot net>
- Date: Thu, 18 Jan 2007 19:55:23 +0100
- Subject: Re: [PATCH] mark_hook in GTY?
- References: <20070118180612.GA29661@ours.starynkevitch.net>
On Thursday 18 January 2007 19:06, Basile STARYNKEVITCH wrote:
> As I suggested in the last part of my (somehow confusing) message
> http://gcc.gnu.org/ml/gcc/2006-12/msg00254.html it could be
> interesting for some few passes to have the GGC garbage collector call
> a post-marking hook, which is called once when a structure is marked.
I can't approve the patch, but I like the idea.
We could also use this for things like GC debugging, to figure
out where we leave things dangling in GC memory that should
actually be freed (i.e. mem leaks).
Gr.
Steven