This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: adding destroyable objects into Ggc
On Tue, Oct 18, 2011 at 11:35 AM, Ian Lance Taylor <iant@google.com> wrote:
> I think this type of thing is conventionally called a "finalizer".
>
> I'm ambivalent leaning to negative to adding this feature to the gcc
> garbage collector. ?In the long run I would like to use the gcc garbage
> collector less and less.
Fully agreed.
> [...] I understand that you want to take advantage
> of the gcc garbage collector for the MELT plugin. ?However, in my ideal
> world you should be planning for the MELT plugin to take over garbage
> collection entirely, rather than relying on gcc's garbage collector.
again, agreed.