Skip to content
Opensource internals
  • Posts

Allocator

Go's Memory Allocator: 68 Size Classes, Tiny Allocators and the mcache Fast Path

Oct 21, 2026 22 min read Jay Hubbert

Go rounds small allocations to 68 size classes, keeps one span per class in each P’s mcache, refills from a per-class mcentral, and packs tiny noscan objects into 16-byte blocks.

GoInternalsMemoryAllocatorPerformance

Read more →

© 2026 Jay Hubbert · Built with Hugo 0.168.0

RSS ·