Tuesday, August 4, 2009

What are the steps followed by the Garbage Collector ?


1. Mark all the managed memory as garbage
2. Look for used memory blocks, and mark them as valid memory
3. Discard all unused memory blocks
4. Compact the heap



www.codecollege.NET

No comments:

Post a Comment