Skip to content
Opensource internals
  • Posts

Green tea

Go's Green Tea GC: Marking Whole Spans Instead of Objects

Oct 21, 2026 19 min read Jay Hubbert

Green Tea keeps two bitsets per span (marks and scans), queues whole spans on a FIFO queue, and scans an entire span’s marked objects in one pass.

GoInternalsGarbage collectionGreen teaPerformance

Read more →

© 2026 Jay Hubbert · Built with Hugo 0.168.0

RSS ·