Re: My arguments

Larry Evans <[email protected]> Fri, 05 Nov 2004 17:36:22 -0600
Newsgroups gmane.comp.gnome.mono.garbage-collection
Message-ID <[email protected]>
On 08/13/2003 05:19 AM, Paolo Molaro wrote:
> Tracking the pointers in the heap is very easy: the issue is with
> tracking them on the stack/registers. There are papers, though, about

Do you mean tracking the pointers conservatively is easy or tracking
them precisely is easy?  To do this precisely, wouldn't you have to
know the pointee's type?  Would this information be provided by
a method stored in the virtual function table of the pointee?  Then,
wouldn't this exclude classes without virtual functions?  Alternately,
it could be stored in something like Boehm's gc_descr which is stored
with the pointee.  Is that what you mean.  But wouldn't this require
somehow defining gc_descr for each type with has dynamically allocated
instances?

Regards,
Larry

_______________________________________________
Mono-gc-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-gc-list