Kevin Gosse 2/18/2025

Writing a .NET Garbage Collector in C#  -  Part 4

Read Original

This technical article, part 4 of a series, details the process of walking the .NET managed heap, a prerequisite for implementing the mark phase in a custom tracing garbage collector written in C#. It covers distinguishing between fixed-size and variable-size objects, computing object sizes, and the logic for traversing the heap's linked-list-like structure.

Writing a .NET Garbage Collector in C#  -  Part 4

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week