[Mono-dev] field pointer and garbage collection

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


It is possible that the stack contains garbage values that aren' t
references, but we know all the objects in the major heap. We just don' t
know who is alive and who isn' t, and this is why we need to check the
stack.


2014-06-11 16:03 GMT+02:00 serus <fabian.nagel at gmail.com>:

> I think this is the part that I do not understand. Can't the value on the
> stack (assuming the stack is being scanned conventionally and the value is
> not actually a pointer but a long) point to unallocated memory, or to
> memory
> that is allocated but not for objects but some runtime data structure?
>
>
>
> --
> View this message in context:
> http://mono.1490590.n4.nabble.com/field-pointer-and-garbage-collection-tp4663040p4663047.html
> Sent from the Mono - Dev mailing list archive at Nabble.com.
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>



-- 
*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/4b5966bc/attachment.html>


More information about the Mono-devel-list mailing list