This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [PATCH] mark_hook in GTY?


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


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