This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 5/8] Types GC [type_group framework]
- From: Tom Tromey <tromey at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 09 Jun 2009 14:22:06 -0600
- Subject: Re: [patch 5/8] Types GC [type_group framework]
- References: <20090525080300.GE13323@host0.dyn.jankratochvil.net>
- Reply-to: tromey at redhat dot com
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> start tracking which types are reclaimable and tracking how they
Jan> are interconnected. Any utilization of this infrastructure gets
Jan> implemented by the patch 6/8 (+7/8).
Jan> * gdbtypes.c (struct type_group, struct type_group_link)
I don't understand why type groups are still needed if you have a
type-walking GC. IIRC, type groups were there to let us avoid
problems with circular references among types. This is not an issue
with a mark/sweep GC.
Tom