|
ATLAS Offline Software
|
Go to the documentation of this file.
43 const EventContext& ctx,
46 allocator (ctx,
index))
57 : m_allocator (arena->allocator (
index))
ArenaAllocatorBase * baseAllocator()
Return the current Allocator which we are referencing.
virtual Stats stats() const =0
Return the statistics block for this allocator.
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)...
virtual void reserve(size_t size)=0
Set the total number of elements cached by the allocator.
virtual void erase()=0
Free all allocated elements and release memory back to the system.
void reserve(size_t size)
Set the total number of elements cached by the allocator (in the current Arena).
Base class for all Handle classes, containing parts that do not depend on the referenced type....
Statistics for an allocator.
Common base class for arena allocator classes. See Arena.h for an overview of the arena-based memory ...
Part of Arena dealing with the list of allocators.
void reset()
Free all allocated elements (of this type in the current Arena).
virtual void reset()=0
Free all allocated elements.
ArenaHandleBase(ArenaHeader *header, size_t index)
Constructor.