Skip to content
Opensource internals
  • Posts

Write barrier

Go's Hybrid Write Barrier: Why the GC Can Mark While You Write

Oct 21, 2026 18 min read Jay Hubbert

Go’s write barrier records both the old and the new value of every pointer slot into a per-P buffer, and the flush greys both — a Yuasa deletion barrier plus a Dijkstra insertion …

GoInternalsGarbage collectionWrite barrierConcurrency

Read more →

© 2026 Jay Hubbert · Built with Hugo 0.168.0

RSS ·