This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GC use within GCC
- To: Tom Lord <lord at regexps dot com>
- Subject: Re: GC use within GCC
- From: Tom Tromey <tromey at redhat dot com>
- Date: 30 Jul 2001 17:03:16 -0600
- Cc: gcc at gcc dot gnu dot org
- References: <200107310052.RAA28151@morrowfield.home>
- Reply-To: tromey at redhat dot com
>>>>> "Tom" == Tom Lord <lord@regexps.com> writes:
Tom> Am I reading the code of GCC correctly? It appears that,
Tom> although GCC now uses the Boehm collector, it does not perform a
Tom> conservative scan of the C stack. Is that true?
Tom> Does GCC use the conservative feature's of boehm-gc at all? or
Tom> is it being used as an exact collector?
The only part of gcc that uses the Boehm GC is libgcj.
In libgcj, the stack and the initialized data sections are
conservatively scanned. The heap is precisely scanned.
Tom