Writing a .NET Garbage Collector in C# - Part 6: Mark and Sweep
Continues a series on building a .NET garbage collector in C#, focusing on implementing the mark and sweep phases.
Continues a series on building a .NET garbage collector in C#, focusing on implementing the mark and sweep phases.
A developer details adding a Scheme-to-WebAssembly compiler to their long-running Bob project, focusing on using the WASM GC extension.
A developer explains how knowledge of garbage collection theory helped solve an incremental parsing performance problem in a text editor project.
Explores three upcoming improvements to the G1 garbage collector in Java, including simpler write barriers and performance enhancements.
Explores how Java's new Generational ZGC garbage collector reduces tail latencies compared to the default G1 collector in a microservice benchmark.
Explores how Java's ZGC garbage collector reduces tail latencies in microservices compared to the default G1 collector, using practical benchmarks.
Explains how to implement the mark phase of a .NET garbage collector in C# by walking the reference graph using GCDesc structures.
Announcement and detailed discussion of the 2nd edition of the book 'Pro .NET Memory Management', covering .NET GC and memory topics.
Explores the use of weak references in JavaScript, focusing on WeakMap and WeakRef for memory management and subverting abstraction control.
Explains how to traverse the .NET managed heap to implement the mark phase of a custom garbage collector written in C#.
Part 3 of a series on building a .NET Garbage Collector in C#, focusing on adding debugging capabilities to inspect heap objects.
Part 2 of implementing a simple .NET garbage collector in C#, covering native interfaces and a basic handle store.
A technical exploration of writing a custom Garbage Collector for .NET in C# using NativeAOT, focusing on the initial setup and API.
Explains a surprising JavaScript memory leak involving closures and garbage collection, with code examples.
Explores three underappreciated Java 21 features: Generational ZGC, Key Encapsulation Mechanism API, and Code Snippets in JavaDoc.
Explores the hidden .NET API for creating and using frozen segments to store managed objects in native memory for performance.
Explains how to create a ChunkedList<T> in C# to avoid Large Object Heap issues when storing massive amounts of data.
Explores the potential of Kotlin/Wasm for web development, focusing on the upcoming WasmGC feature and its impact on frontend and full-stack Kotlin.
Explains how to measure heap allocations in .NET and reveals that an empty array consumes 24 bytes due to object overhead.
Explains a subtle bug where GC.KeepAlive fails to prevent garbage collection of a delegate in async code involving native methods.