Skip to main content

Module arena

Module arena 

Source
Expand description

Epoch-based arena allocator for structural sharing.

The arena allocator is the core memory management strategy for Graphos. It provides:

  • Fast bump-pointer allocation
  • Epoch-based versioning for MVCC
  • Bulk deallocation when epochs become unreachable

Structsยง

Arena
An epoch-aware arena allocator.
ArenaAllocator
The global arena allocator managing multiple epochs.
ArenaStats
Statistics about an arena.