How Memory Management is done by CLR
F开发者_如何学JAVArom To Many days I am searching for a detail document which will help me to understand garbage collection done by CLR with example of some lines of coding including some functions,class, value type and reference type. Please share with if there is certain document which shows it step by step.
Have a look at:
- Garbage Collection: Automatic Memory Management in the Microsoft .NET Framework
- Garbage Collection Part 2: Automatic Memory Management in the Microsoft .NET Framework
I can also recommand Jeffrey Richter's book C# via CLR
A nice article about it : http://www.codeproject.com/KB/dotnet/Memory-Misconceptions.aspx
You could probably find the best ressources on MSDN, maybe the following:
http://msdn.microsoft.com/en-us/library/ms973837.aspx
(this article is old) http://msdn.microsoft.com/en-us/magazine/bb985010.aspx
If you want to get into the more general topic of garbage collection take a look at the book Garbage Collection: Algorithms for Automatic Dynamic Memory Management.
This video seems to be hot and on topic: E2E: Erik Meijer and Patrick Dussud - Inside Garbage Collection
精彩评论