Generational Garbage Collection
The lesson describes how mark-and-sweep causes pauses when all live objects must be re-scanned repeatedly, and how a three-generation garbage collector solves this problem by migrating surviving objects to progressively less-frequently-collected heaps. We illustrate the migration mechanics with concrete allocation scenarios.
Previous Module
Array Performance Optimizations
This Module
The .NET Garbage Collector