内存竞技场和内存池有什么区别?

What's the difference between a memory arena and a memory pool?

我看到这两个术语都用于内存分配器的包装器,它们之间有什么区别? (如果有的话)

What's the difference between a memory arena and a memory allocator?

本页的最佳答案是:

"Memory arena" typically means a large lump (or collection of lumps) of memory from which smaller lumps are allocated. The word "pool" is also commonly used for such a thing.

所以基本上:它们的意思相同,它们只是用于同一概念的不同术语。

区域内存管理内存槽有时称为“arena”,有时称为“pool”。 “池”不仅用于本机代码中的本机原始内存管理 C/C++,而且在 JVM 中用于保持热内存并最大限度地减少 GC 暂停的延迟影响。

它不一样了,“对象池”不应该被称为“竞技场”,因为 Rust 也采用了 - https://manishearth.github.io/blog/2021/03/15/arenas-in-rust/ 以避免混淆。