Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Brewed for Speed: How Go’s Green Tea GC Works

Brewed for Speed: How Go’s Green Tea GC Works

In this talk, we explore the inner workings of Go’s garbage collector and the motivation behind the **GreenTea GC**, an experimental redesign that approaches memory cleanup differently. Starting from how Go’s current garbage collector and memory allocator cooperate, we’ll dive into the **page-based approach** of GreenTea, cleaning memory in groups instead of object-by-object, and discuss why it matters for performance on modern hardware with more cores and larger caches. You’ll learn **how it works**, **why it matters**, and what this new approach could mean for **real-world Go programs**.

You can see the full presentation here: https://www.youtube.com/watch?v=aQ9JsWyjRy8

Jesús Espino

February 03, 2026

Transcript

59 slides

More Decks by Jesús Espino

Other Decks in Technology