|
ATLAS Offline Software
|
Go to the documentation of this file.
18 #ifndef ATLALLOCATORS_ARENAHANDLEBASE_H
19 #define ATLALLOCATORS_ARENAHANDLEBASE_H
170 #endif // not ATLALLOCATORS_ARENAHANDLEBASE_H
ArenaAllocatorBase * baseAllocator()
Return the current Allocator which we are referencing.
ArenaAllocatorBase::Stats stats() const
Return the statistics block for this allocator, for the current Arena.
void erase()
Free all allocated elements and release memory back to the system (of this type in the current Arena)...
Base class for all Handle classes, containing parts that do not depend on the referenced type.
void reserve(size_t size)
Set the total number of elements cached by the allocator (in the current Arena).
const ArenaAllocatorBase * baseAllocator() const
Return the current Allocator which we are referencing.
A pointer type that holds a lock on an allocator object.
Statistics for an allocator.
Common base class for arena allocator classes. See Arena.h for an overview of the arena-based memory ...
Common base class for arena allocator classes.
A pointer type that holds a lock on an allocator object.
Part of Arena dealing with the list of allocators.
void reset()
Free all allocated elements (of this type in the current Arena).
ArenaHandleBase(ArenaHeader *header, size_t index)
Constructor.
LockedAllocator m_allocator
The associated allocator object.