#include <mem_alloc.h>
Public Member Functions | |
PoolManager (size_t initial_size, size_t page_size, bool use_large_pages, bool is_code, bool is_resize_allowed) | |
virtual | ~PoolManager () |
void * | alloc (size_t size, size_t alignment, Code_Allocation_Action action) |
Byte * | get_pool_base () |
Protected Member Functions | |
PoolDescriptor * | allocate_pool_storage (size_t size) |
size_t | round_up_to_page_size_multiple (size_t size) |
void | _lock () |
void | _unlock () |
Protected Attributes | |
PoolDescriptor * | _active_pool |
PoolDescriptor * | _passive_pool |
size_t | _page_size |
bool | _use_large_pages |
size_t | _default_pool_size |
bool | _is_code |
bool | _is_resize_allowed |
apr_pool_t * | aux_pool |
apr_thread_mutex_t * | aux_mutex |
Byte * | vtable_pool_start |
PoolManager.PoolManager | ( | size_t | initial_size, | |
size_t | page_size, | |||
bool | use_large_pages, | |||
bool | is_code, | |||
bool | is_resize_allowed | |||
) |
virtual PoolManager.~PoolManager | ( | ) | [virtual] |
void* PoolManager.alloc | ( | size_t | size, | |
size_t | alignment, | |||
Code_Allocation_Action | action | |||
) |
Byte* PoolManager.get_pool_base | ( | ) |
PoolDescriptor* PoolManager.allocate_pool_storage | ( | size_t | size | ) | [protected] |
size_t PoolManager.round_up_to_page_size_multiple | ( | size_t | size | ) | [protected] |
void PoolManager._lock | ( | ) | [protected] |
void PoolManager._unlock | ( | ) | [protected] |
PoolDescriptor* PoolManager._active_pool [protected] |
PoolDescriptor* PoolManager._passive_pool [protected] |
size_t PoolManager._page_size [protected] |
bool PoolManager._use_large_pages [protected] |
size_t PoolManager._default_pool_size [protected] |
bool PoolManager._is_code [protected] |
bool PoolManager._is_resize_allowed [protected] |
apr_pool_t* PoolManager.aux_pool [protected] |
apr_thread_mutex_t* PoolManager.aux_mutex [protected] |
Byte* PoolManager.vtable_pool_start [protected] |
Genereated on Tue Mar 11 19:26:03 2008 by Doxygen.
(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.