Arena allocator

Back to Memory allocators

The ArenaAllocator is a memory allocator which allows to allocate memory regions of arbitrary size, but requires to deallocate all of them at once. It reserves memory in big blocks which it then shares in required pieces.

Files

Arena allocator

A deallocate-once, arbitrary size memory allocator

Arena allocator module

Testing for ArenaAllocator