[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
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list