DigiNews

Tech Watch by Johan Denoyer

← Back to articles

Pony's Arena Allocator

Quality: 9/10 Relevance: 9/10

Summary

The article discusses stress-testing Pony's TCP subsystem, identifies allocator-related memory retention issues, and introduces a new region/arena-based allocator inspired by snmalloc. It explains per-thread ownership, cross-thread free batching, and memory reclamation, plus a tunable memory profile flag. It also notes the allocator is now the default across supported platforms and outlines tradeoffs with the old allocator.

🚀 Service construit par Johan Denoyer