[ TOPIC ]
garbage-collection
4 real merged PRs across 3 projects, ordered easiest to hardest. Read them in order to see how garbage-collection shows up in production code, then go deeper with the free papers and talks below.
[ 01 // REAL PRs ]
Next (mid) · 2
metadata: bound snapshotter Remove during garbage collection
This PR teaches how to safely bound long-running or potentially stuck resource cleanup (GC) operations with timeouts to prevent system-wide lockups, and how to test and document such changes robustly.
events: fix weak listener retention overwrite
This PR teaches how to fix subtle memory retention bugs involving weak references and event listeners, with a clear explanation and regression tests.
Go deep (senior) · 2
[mono][wasm][AOT] Pin `OP_MOVE` destinations in the GC pin area
This PR teaches how precise GC root tracking is implemented and debugged in a cross-platform AOT compiler, especially for WebAssembly's unique execution model.
sqlite: keep sessions alive across SQLite callbacks
This PR teaches how to manage object lifetimes and prevent use-after-free bugs by pinning weakly referenced objects during callbacks that can trigger garbage collection in a native addon environment.
[ 03 // FREE VIDEOS & TALKS ]
Ranked by views.
other topics
