8#ifndef INCLUDED_BDLMA_MULTIPOOLALLOCATOR
9#define INCLUDED_BDLMA_MULTIPOOLALLOCATOR
651#include <bdlscm_version.h>
737 int maxBlocksPerChunk,
745 int maxBlocksPerChunk,
749 const int *maxBlocksPerChunkArray,
790 const int *maxBlocksPerChunkArray,
851 bslma::Allocator *basicAllocator)
852: d_multipool(basicAllocator)
857MultipoolAllocator::MultipoolAllocator(
860: d_multipool(
numPools, basicAllocator)
865MultipoolAllocator::MultipoolAllocator(
868: d_multipool(growthStrategy, basicAllocator)
873MultipoolAllocator::MultipoolAllocator(
877: d_multipool(numPools, growthStrategy, basicAllocator)
882MultipoolAllocator::MultipoolAllocator(
886: d_multipool(numPools, growthStrategyArray, basicAllocator)
891MultipoolAllocator::MultipoolAllocator(
894 int maxBlocksPerChunk,
896: d_multipool(numPools, growthStrategy, maxBlocksPerChunk, basicAllocator)
901MultipoolAllocator::MultipoolAllocator(
904 int maxBlocksPerChunk,
906: d_multipool(numPools, growthStrategyArray, maxBlocksPerChunk, basicAllocator)
911MultipoolAllocator::MultipoolAllocator(
914 const int *maxBlocksPerChunkArray,
916: d_multipool(numPools, growthStrategy, maxBlocksPerChunkArray, basicAllocator)
921MultipoolAllocator::MultipoolAllocator(
924 const int *maxBlocksPerChunkArray,
926: d_multipool(numPools,
928 maxBlocksPerChunkArray,
Definition bdlma_managedallocator.h:391
Definition bdlma_multipoolallocator.h:682
bsls::Types::size_type maxPooledBlockSize() const
Definition bdlma_multipoolallocator.h:969
void * allocate(bsls::Types::size_type size) BSLS_KEYWORD_OVERRIDE
Definition bdlma_multipoolallocator.h:935
void deallocate(void *address) BSLS_KEYWORD_OVERRIDE
Definition bdlma_multipoolallocator.h:941
void reserveCapacity(bsls::Types::size_type size, int numObjects)
Definition bdlma_multipoolallocator.h:955
void release() BSLS_KEYWORD_OVERRIDE
Definition bdlma_multipoolallocator.h:949
~MultipoolAllocator() BSLS_KEYWORD_OVERRIDE
int numPools() const
Return the number of pools managed by this multipool allocator.
Definition bdlma_multipoolallocator.h:963
Definition bdlma_multipool.h:546
void release()
Relinquish all memory currently allocated via this multipool object.
int numPools() const
Return the number of pools managed by this multipool object.
Definition bdlma_multipool.h:812
void deallocate(void *address)
void reserveCapacity(bsls::Types::size_type size, int numBlocks)
bsls::Types::size_type maxPooledBlockSize() const
Definition bdlma_multipool.h:818
void * allocate(bsls::Types::size_type size)
Definition bslma_allocator.h:457
std::size_t size_type
Definition bslma_allocator.h:499
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
#define BSLS_KEYWORD_OVERRIDE
Definition bsls_keyword.h:653
Definition bdlma_alignedallocator.h:276
Definition balxml_encoderoptions.h:68
Definition bdlt_iso8601util.h:691
Strategy
Definition bsls_blockgrowth.h:169
std::size_t size_type
Definition bsls_types.h:124