How does the garbage collector determine whether an object is garbage?

Posted by n0vic3c0d3r on Stack Overflow See other posts from Stack Overflow or by n0vic3c0d3r
Published on 2010-03-22T09:29:29Z Indexed on 2010/03/22 9:31 UTC
Read the original article Hit count: 241

Filed under:
|

How does the garbage collector determine whether an object is garbage? Does it refer to the stack to check the references to the space allocated in the heap?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about garbage-collection