This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Move loop structures to gc memory
On May 15, 2007, Mark Mitchell <mark@codesourcery.com> wrote:
> I agree that putting things into GC space just because they point to
> GC things (even though they themselves have obvious lifetimes) is a
> lameness of our GC.
I'm not sure I understand what you mean. Not doing so implies either
pinning the pointed-at objects by hand (yuck) or adding the "things"
as GC roots, which is really not that different from GC-allocating
them as roots in the first place. What am I missing?
--
Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/
FSF Latin America Board Member http://www.fsfla.org/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}