What is a root in garbage collection in C# -


this question has answer here:

i trying understand garbage collection internals , trying comprehend root refers to? start find roots from? current thread execution or picks objects heap , recursively looks @ references?

the roots things global , local variables directly accessible code.

the gc finds pointers among point gc heap, , follows them (recursively) find other memory that's still accessible.


Comments

Popular posts from this blog

html - How can i make an element from a bottom stacking context stays in front of another higher stacking context? -

python - TypeError: start must be a integer -

html - href attribute breaking an element -