Compact Framework – Understanding GC/Memory management

Abhinaba from the .NET Compact Framework team has been writing a series of blog posts on the subject of Compact Framework, understanding memory allocation, garbage collection, mark/sweep vs. generational collection, and more to come!

Here’s a link to the articles – and to Abhinabas blog homepage – I really like the embedded photos on the blog (and by embedded I mean photos in the blog post, not photos of robots, medical devices and factory automation systems).

Memory allocation, a walk down the history

Why use garbage collection

Reference Counting Garbage Collection

Mark-sweep garbage collection

Copying garbage collection

Optimizing reference counting garbage collection

Handling overflow in mark stage

Generational Garbage Collection

How does the GC find object references

More to come … :)

- Mike