Internals for Interns personal blog

Understanding the Go Runtime: The Scheduler

In the previous article we explored how Go’s memory allocator manages heap memory — grabbing large arenas from the OS, dividing them into spans and size classes, and using a three-level hierarchy (mcache, mcentral, mheap) to make most allocations lock-free. A key detail was that each P (processor) gets its own memory…
Points
158
HN comments
48
Submissions
1
Cited by
0 commenters

Programming LanguagesSystems & Performance2026

On Hacker News

SubmittedTitle on HNPointsComments
Mar 9, 2026Understanding the Go Runtime: The Scheduler by valyala15848

More from Internals for Interns

All 3 posts →

Related posts from the same era