Template Struct BlockManagement
Defined in File block.h
Nested Relationships
Nested Types
Inheritance Relationships
Derived Type
public CE::Memory::AbstractBlockManager< T >(Template Struct AbstractBlockManager)
Struct Documentation
-
template<typename T>
struct BlockManagement Bookkeeping shared by managers of the same T: registry owns full allocations, sections partitions split allocations, and pool records reusable ranges.
stale timestamps complete free owners; release queues them for culling. A retained State keeps this bookkeeping alive after a manager facade dies.
Subclassed by CE::Memory::AbstractBlockManager< T >
Public Types
-
using clock = std::chrono::steady_clock
Monotonic source for whole-free-owner staleness.
Public Static Functions
- Returns:
Retained shared collection state for this exact T specialization. All corresponding manager facades share it; retaining it pins bookkeeping/backing owners, not a facade or synchronized access to user objects.
Public Static Attributes
-
static auto &pool = shared_state()->pool
Legacy reference into retained shared state; obey its lock/invariants.
-
static auto §ions = shared_state()->sections
Legacy partition reference; compound edits require transactions/quiescence.
-
static auto ®istry = shared_state()->registry
Legacy backing-owner reference; not a separately owned domain.
-
static auto &stale = shared_state()->stale
Legacy stale-time map reference protected by its mutex.
-
static auto &release = shared_state()->release
Legacy pending-release reference protected by its mutex.
Protected Attributes
-
std::shared_ptr<State> state_ = shared_state()
Retained per-T collections independent of a manager facade’s lifetime.
-
using clock = std::chrono::steady_clock