This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Use Bohem's GC for compiler proper in 4.1?


On 04/01/2005 08:21 AM, Larry Evans wrote:
On 04/01/2005 07:35 AM, Andrew Haley wrote:
[snip]

To be fair to the Boehm gc, though: it isn't inherently a conservative
collector, but will also do precise gc.


Wouldn't this require a GC_descr as defined here:

http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc_typedh.txt

for each data structure containing a pointer to the heap?


And even then, it wouldn't be totally precise because the stack would still have to be scanned conservatively to locate heap pointers.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]