~/talk

Advancing Go Garbage Collection with Green Tea

Talkat GopherCon 2025 · 2025-08-26..08-28· [go]
slides:none on file

Green Tea replaces object-by-object marking with page-granular mark worklists, adds a two-bit per-object metadata layout (seen vs scanned), and scans objects in memory order so caches and NUMA locality improve. Implemented with vector/SIMD bit ops on modern CPUs and sharded page worklists, it yields 10–40% GC CPU reductions in benchmarks and roughly +10% more when vector acceleration applies. It ships as an experiment in Go25 by setting the environment variable Go experiment to green tea GC.

AI-written summary · about

  1. 0:00Go GC introduction
  2. 1:24How Go GC works
  3. 7:20Garbage collection needs improvement
  4. 10:51CPU architecture challenges
  5. 12:38Introducing Green Tea GC
  6. 16:50Green Tea performance gains
  7. 19:44Benchmark results & hardware acceleration
  8. 21:50Availability & future plans
  9. 22:12Green Tea human story
~/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.