[Mono-dev] field pointer and garbage collection

serus fabian.nagel at gmail.com
Wed Jun 11 12:13:30 UTC 2014


Thanks for the info.

>From what I understood, a conventional collector would treat all values
found on stack / registers as potential pointers. To pin the object, it
needs to 1) find out if the pointer is pointing to an actual object or to a
random memory address; and 2) find the base address of the object in case it
is an interior pointer.

How does Mono test for (1) and is the assumption that (2) is computed using
the alignment of sgen-blocks and their slot size correct? 



--
View this message in context: http://mono.1490590.n4.nabble.com/field-pointer-and-garbage-collection-tp4663040p4663042.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list