This is the mail archive of the
mailing list for the GCC project.
Thoughts about GC root sets
- From: "Laurynas Biveinis" <laurynas dot biveinis at gmail dot com>
- To: "Daniel Berlin" <dberlin at dberlin dot org>, gcc at gcc dot gnu dot org
- Date: Wed, 7 Jun 2006 17:09:24 +0200
- Subject: Thoughts about GC root sets
Daniel, first of all, how would you prefer to communicate on general
GCC issues? Is it OK to send e-mail to you and to gcc mailing list, or
should I send such mails to gcc mailing list only?
Some of the GCC roots live on the heap memory, e.g. ident_table. These
are not found by Boehm's GC by default. I've started fixing such
places by registering these additional roots. But it got me thinking:
how do the old GCC garbage collectors know about those roots? I do not
see any root registration calls, but maybe I do not know where to
look. They cannot handle such roots automatically because they don't
intercept ordinary malloc calls and do not track information about
such regions. So that's puzzling me. Any hints would be appreciated.
Thanks in advance,