Use Bohem's GC for compiler proper in 4.1?

Larry Evans cppljevans@cox-internet.com
Fri Apr 1 16:10:00 GMT 2005


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.




More information about the Gcc mailing list