|
|
|
|
|
by MaxBarraclough
2311 days ago
|
|
Those aren't arenas. I'm inclined to agree with Wikipedia's definition, which does emphasise deallocation all at once: > A region, also called a zone, arena, area, or memory context, is a collection of allocated objects that can be efficiently deallocated all at once. |
|
https://www.kernel.org/doc/gorman/html/understand/understand...
Like, as a embedded developer, these concepts are used pretty much every day. And in a good chunk of those, deallocation isn't allowed at all, so you can't say that the definition is around deallocation at once.
You can also see how glibc's malloc internally creates arenas, but that's not to deallocate at once, but instead to manage different locking semantics. https://sourceware.org/glibc/wiki/MallocInternals