On 04/01/2005 11:23 AM, Daniel Jacobowitz wrote:
[snip]
There are other ways to solve this problem, including creating a
generational collector using our existing accurate GC.  I've been
working on this on-and-off (mostly off at the moment, though).

I briefly looked at:

  Type-Information.html

from:

  http://gcc.gnu.org/onlinedocs/gccint-html.tar.gz

I was wondering why the method described here:

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

was not used instead to create an accurate GC method in the compiler.
I assume the reason is that using:

   GTY(())

as described in the .html file was just easier and less error prone
than Boehm's at the cost of requiring some extra preprocesssing?
That makes me wonder whether this method could be made available to
programmer's of c or even c++ file to enable accurate GC in their
code?  Of course this would be an extension, but it wouldn't be
the 1st time gcc's added extensions ;)



Reply via email to