~/talk

Make your custom .NET GC - "whys" and "hows"

Talkat NDC London 2020 · 2020-01-27..01-31· [rust]
slides:none on file

Starting with .NET Core 2.1 a feature called Local GC lets a native DLL replace the runtime GC by exporting version and initialize hooks and implementing the GC heap interface; a minimal 0 GC allocates with VirtualAlloc/VirtualAlloc-like calls, implements handles and allocation paths, and surprisingly matches throughput while consuming far more memory and CPU. Practical work requires building a debug runtime, using suspendEE/restartEE, handling many runtime asserts, and is blocked today by the missing API to traverse object references for a real mark-and-sweep GC.

AI-written summary · about

  1. 0:00Start
  2. 0:26Agenda
  3. 5:35Ultimate Goal
  4. 8:46Memory Pressure Testing
  5. 15:06Exported Methods
  6. 18:54Garbage Collect
  7. 23:37Memory Usage
  8. 38:18Implementation of the Gc
  9. 41:28Summary
  10. 42:54What's Next
~/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.