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
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Mar 9, 2026 | Understanding the Go Runtime: The Scheduler by valyala | 158 | 48 |