~/talk

Writing a custom, real-world .NET GC

slides:none on file

Shows how to replace .NET Core’s GC via the Local GC hook and build a working allocator and simple collector, using a tiny IGCHeap implementation (≈75 methods) and a GitHub project. Starts with a zero‑GC (alloc-only) using VirtualAlloc, moves to a bump‑pointer allocator with 16 MB segments, and a fixed handle table (~65k entries). Runs against a locally built coreclr debug runtime and a self‑contained app. Allocation, suspend/resume, root and handle scanning work; object reference traversal via GC metadata remains the hardest undocumented task.

AI-written summary · about

  1. 0:00Start
  2. 9:20Performance Testing
  3. 19:52Final Solution
  4. 21:04Handling Handles
  5. 42:32Gc Scan Roots
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.