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: [trunk r143197] patch adding optional extra marking to GGC


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


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