[Mono-dev] field pointer and garbage collection

Andrea Francesco Iuorio andreafrancesco.iuorio at gmail.com
Wed Jun 11 14:39:07 UTC 2014


Sgen see the small major heap as a list of object blocks. We create, using
the threads stack and other sources, a queue of potential pointer, sort
them and then, since it is sorted, we assign to a block the index of the
queue where we can find the first pointer in the block area. After that,
each block scan its queue area comparing to its object list, marking them.
The function that "do" this work is mark_pinned_objects_in_block in
sgen-marksweep.c

Sorry for my terrible english, I hope you can understand it.
-- 
*Andrea Francesco Iuorio*
Student in Computer Science, Università degli Studi di Milano
andreafrancesco.iuorio at gmail.com - GPG Key
<http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xB7CE867432B28197>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20140611/3b43b253/attachment-0001.html>


More information about the Mono-devel-list mailing list