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

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

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.

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

Avatar for Jesús Espino

Jesús Espino

February 03, 2026
Tweet

More Decks by Jesús Espino

Other Decks in Technology

Transcript

  1. About Me • Software Engineer AT • Open Source Enthusiast

    (and contributor) • Deep knowledge Fan • Book Author • Blogger: https:/ /internals-for-interns.com/
  2. References • Michael Knyszek GopherCon Talk: https:/ /www.youtube.com/watch?v=gPJkM95KpKo • The

    Go.DEV Blog POST: https:/ /go.dev/blog/greenteagc • The Go Source Code