#include <BlockWipedAllocator.h>
Public Member Functions | |
virtual | ~BlockWipedPoolAllocated () |
Static Public Member Functions | |
static BlockWipedAllocator & | allocator (size_t s) |
static void | operator delete (void *p, size_t s) |
static void * | operator new (size_t s) |
static void * | operator new (size_t s, void *p) |
static BlockWipedAllocator::Stat | stat (size_t s) |
static void | usePool () |
Static Public Attributes | |
static int | s_alive = 0 |
static bool | s_usePool = false |
Definition at line 145 of file BlockWipedAllocator.h.
virtual BlockWipedPoolAllocated::~BlockWipedPoolAllocated | ( | ) | [inline, virtual] |
Definition at line 147 of file BlockWipedAllocator.h.
{}
BlockWipedAllocator & BlockWipedPoolAllocated::allocator | ( | size_t | s | ) | [static] |
Definition at line 155 of file BlockWipedAllocator.cc.
References BlockWipedPool::allocator(), and blockWipedPool().
Referenced by operator delete(), operator new(), and stat().
{ return blockWipedPool().allocator(s); }
void BlockWipedPoolAllocated::operator delete | ( | void * | p, |
size_t | s | ||
) | [static] |
Definition at line 147 of file BlockWipedAllocator.cc.
References allocator(), BlockWipedAllocator::dealloc(), cmsCodeRules::cppFunctionSkipper::operator, AlCaHLTBitMon_ParallelJobs::p, s_alive, and s_usePool.
void * BlockWipedPoolAllocated::operator new | ( | size_t | s | ) | [static] |
Definition at line 133 of file BlockWipedAllocator.cc.
References BlockWipedAllocator::alloc(), allocator(), cmsCodeRules::cppFunctionSkipper::operator, asciidump::s, s_alive, and s_usePool.
static void * BlockWipedPoolAllocated::operator new | ( | size_t | s, |
void * | p | ||
) | [static] |
Definition at line 138 of file BlockWipedAllocator.cc.
References AlCaHLTBitMon_ParallelJobs::p.
{ return p; }
BlockWipedAllocator::Stat BlockWipedPoolAllocated::stat | ( | size_t | s | ) | [static] |
Definition at line 160 of file BlockWipedAllocator.cc.
References allocator(), and BlockWipedAllocator::stat().
void BlockWipedPoolAllocated::usePool | ( | ) | [static] |
Definition at line 126 of file BlockWipedAllocator.cc.
References s_alive, and s_usePool.
Referenced by BlockWipedAllocatorService::BlockWipedAllocatorService().
int BlockWipedPoolAllocated::s_alive = 0 [static] |
Reimplemented in ReferenceCountedPoolAllocated.
Definition at line 149 of file BlockWipedAllocator.h.
Referenced by BlockWipedAllocatorService::dump(), operator delete(), BlockWipedAllocated< _bqueue_item< T > >::operator delete(), BlockWipedAllocated< _bqueue_item< T > >::operator new(), operator new(), and usePool().
bool BlockWipedPoolAllocated::s_usePool = false [static] |
Definition at line 165 of file BlockWipedAllocator.h.
Referenced by LocalCache< T >::LocalCache(), operator delete(), BlockWipedAllocated< _bqueue_item< T > >::operator delete(), BlockWipedAllocated< _bqueue_item< T > >::operator new(), operator new(), and usePool().