Go 1.25 introduces Green Tea, an experimental garbage collector that reduces GC overhead by 10-40% across various workloads. Unlike traditional mark-sweep algorithms that traverse objects individually, Green Tea operates on entire memory pages, improving CPU cache utilization and enabling vector instruction acceleration. The approach addresses modern hardware challenges like NUMA, reduced memory bandwidth, and increased core counts. Production-ready and already deployed at Google, it's available via GOEXPERIMENT=greenteagc and planned as the default in Go 1.26.
Sort: