Pony's Arena Allocator
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.