Reconsidering "Reconsidering Custom Memory Allocation"
摘要
Programmers using native languages such as C, C++, or Rust can implement custom memory allocation strategies to improve execution time. In their paper titled "Reconsidering Custom Memory Allocation" almost 25 years ago, Berger et al. showed that while per-class allocators provide no significant speedups over a state-of-the-art general-purpose allocator, region-based allocators can improve execution time by allocating and freeing objects in bulk. This paper revisits that work on a modern hardware platform with modern general-purpose allocators to evaluate whether their conclusions still hold. It also augments the benchmark suite with two large real-world applications (Clang and Blender), and introduces a methodology to explore the effect of memory fragmentation on locality in general-purpose allocators. Our results support and extend the original conclusions, demonstrating the locality advantages of region-based custom memory allocators.
引用
@article{arxiv.2605.17119,
title = {Reconsidering "Reconsidering Custom Memory Allocation"},
author = {Nicolas van Kempen and Emery D. Berger},
journal= {arXiv preprint arXiv:2605.17119},
year = {2026}
}
备注
11 pages, to appear at ISMM'26: https://doi.org/10.1145/3814942.3816132