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

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -