This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [trunk r143197] patch adding optional extra marking to GGC
- From: Ian Lance Taylor <iant at google dot com>
- To: Basile STARYNKEVITCH <basile at starynkevitch dot net>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 09 Jan 2009 18:03:45 -0800
- Subject: Re: [trunk r143197] patch adding optional extra marking to GGC
- References: <49672175.70801@starynkevitch.net>
Basile STARYNKEVITCH <basile@starynkevitch.net> writes:
> The idea is to add, for some peculiar users (I am explicitly thinking
> of future plugin facilities), the ability to invoke a marking routine
> on some data during GGC collection.
This seems quite difficult to use correctly, and I think it would be
quite a pain if all plugin authors have to get it right. Would your
needs be satisfied if there were a way to dynamically add roots to the
GC?
Ian