What is a root in garbage collection in C# -
this question has answer here:
- what roots? 5 answers
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
Post a Comment