|
libbio
|
#include <PointerArena.h>


Static Public Member Functions | |
| static PointerArena & | Instance () |
Friends | |
| void | DeleteObjectStorage (void *raw, ::std::size_t bytes) |
| void | FreeBytes (void *raw, ::std::size_t bytes) |
Process-lifetime arena used by level-2 compact-pointer builds.
Mutating operations (reserve, bump allocation, foreign raw-pointer import) are serialized by ThreadSafe / SafelyAccess. Arena-backed handle resolution is intentionally a racey read: an arena handle is a shifted word offset and resolves as base + ((handle - 1) << WordShift). Existing non-arena raw pointers use a high-bit foreign handle stored in an Arrangement<const void*> so the tree can be migrated incrementally without returning to std container side tables.
| bio::pointer_arena::PointerArena::PointerArena | ( | ) |
| bio::pointer_arena::PointerArena::~PointerArena | ( | ) |
| void * bio::pointer_arena::PointerArena::AllocateBytes | ( | ::std::size_t | bytes, |
| ::std::size_t | align | ||
| ) |
| std::size_t bio::pointer_arena::PointerArena::GetAllocationRecordCount | ( | ) | const |
| std::size_t bio::pointer_arena::PointerArena::GetBytesHandedOut | ( | ) | const |
| std::size_t bio::pointer_arena::PointerArena::GetCapacityBytes | ( | ) | const |
| std::size_t bio::pointer_arena::PointerArena::GetForeignCount | ( | ) | const |
| std::size_t bio::pointer_arena::PointerArena::GetPageRecordCount | ( | ) | const |
| std::size_t bio::pointer_arena::PointerArena::GetSmallAllocationCount | ( | ) | const |
|
static |
| void * bio::pointer_arena::PointerArena::ReallocateBytes | ( | void * | raw, |
| ::std::size_t | oldBytes, | ||
| ::std::size_t | newBytes, | ||
| ::std::size_t | align | ||
| ) |