Skip to content

Namespace cubmem

Namespace List > cubmem

Namespaces

Type Name
namespace fixed_size_alloc

Classes

Type Name
class appendable_array <typename T, S>
class appendible_block <Size>
struct block
struct block_allocator
class extensible_array <typename T, Size>
struct extensible_block
class extensible_stack_block <S>
class memory_monitor
class pinnable_buffer
class private_allocator <typename T>
class private_pointer_deleter <class T>
class private_unique_ptr <class T>
class reference_store <typename T>
class single_block_allocator
class stack_block <S>

Public Attributes

Type Name
const block_allocator CSTYLE_BLOCK_ALLOCATOR = { [**cstyle\_alloc**](namespacecubmem.md#function-cstyle_alloc), [**cstyle\_dealloc**](namespacecubmem.md#function-cstyle_dealloc) }
const size_t DEFAULT_ALIGNMENT = 8
const block_allocator EXPONENTIAL_STANDARD_BLOCK_ALLOCATOR = /* multi line expression */
const block_allocator PRIVATE_BLOCK_ALLOCATOR = { [**private\_block\_allocate**](namespacecubmem.md#function-private_block_allocate), [**private\_block\_deallocate**](namespacecubmem.md#function-private_block_deallocate) }
const block_allocator STANDARD_BLOCK_ALLOCATOR = { [**standard\_alloc**](namespacecubmem.md#function-standard_alloc), [**standard\_dealloc**](namespacecubmem.md#function-standard_dealloc) }
std::atomic< uint64_t > m_stat_map = {}
memory_monitor * mmon_Gl = [**nullptr**](broker__monitor_8c.md#function-timeout)

Public Static Attributes

Type Name
constexpr int MMON_MAP_RESERVE_SIZE = 8192
constexpr int MMON_METAINFO_SIZE = 16

Public Functions

Type Name
void cstyle_alloc (block & b, size_t size)
void cstyle_dealloc (block & b)
void deregister_private_allocator (cubthread::entry * thread_p)
void exponential_standard_alloc (block & b, size_t size)
HL_HEAPID get_private_heapid (cubthread::entry *& thread_p)
bool operator!= (const private_allocator< T > &, const private_allocator< U > &)
bool operator== (const private_allocator< T > &, const private_allocator< U > &)
void private_block_allocate (block & b, size_t size)
void private_block_deallocate (block & b)
void * private_heap_allocate (cubthread::entry * thread_p, HL_HEAPID heapid, size_t size)
void private_heap_deallocate (cubthread::entry * thread_p, HL_HEAPID heapid, void * ptr)
T * ptr_align (T * ptr)
void register_private_allocator (cubthread::entry * thread_p)
void standard_alloc (block & b, size_t size)
void standard_dealloc (block & b)
void switch_to_global_allocator_and_call (Func && func, Args &&... args)

Public Attributes Documentation

variable CSTYLE_BLOCK_ALLOCATOR

const block_allocator cubmem::CSTYLE_BLOCK_ALLOCATOR;

variable DEFAULT_ALIGNMENT

const size_t cubmem::DEFAULT_ALIGNMENT;

variable EXPONENTIAL_STANDARD_BLOCK_ALLOCATOR

const block_allocator cubmem::EXPONENTIAL_STANDARD_BLOCK_ALLOCATOR;

variable PRIVATE_BLOCK_ALLOCATOR

const block_allocator cubmem::PRIVATE_BLOCK_ALLOCATOR;

variable STANDARD_BLOCK_ALLOCATOR

const block_allocator cubmem::STANDARD_BLOCK_ALLOCATOR;

variable m_stat_map

std::atomic< uint64_t > cubmem::m_stat_map;

variable mmon_Gl

memory_monitor * cubmem::mmon_Gl;

Public Static Attributes Documentation

variable MMON_MAP_RESERVE_SIZE

constexpr int cubmem::MMON_MAP_RESERVE_SIZE;

variable MMON_METAINFO_SIZE

constexpr int cubmem::MMON_METAINFO_SIZE;

Public Functions Documentation

function cstyle_alloc

void cubmem::cstyle_alloc (
    block & b,
    size_t size
) 

function cstyle_dealloc

void cubmem::cstyle_dealloc (
    block & b
) 

function deregister_private_allocator

void cubmem::deregister_private_allocator (
    cubthread::entry * thread_p
) 

function exponential_standard_alloc

void cubmem::exponential_standard_alloc (
    block & b,
    size_t size
) 

function get_private_heapid

HL_HEAPID cubmem::get_private_heapid (
    cubthread::entry *& thread_p
) 

function operator!=

template<typename T, typename  U>
bool cubmem::operator!= (
    const  private_allocator < T > &,
    const  private_allocator < U > &
) 

function operator==

template<typename T, typename  U>
bool cubmem::operator== (
    const  private_allocator < T > &,
    const  private_allocator < U > &
) 

function private_block_allocate

void cubmem::private_block_allocate (
    block & b,
    size_t size
) 

function private_block_deallocate

void cubmem::private_block_deallocate (
    block & b
) 

function private_heap_allocate

void * cubmem::private_heap_allocate (
    cubthread::entry * thread_p,
    HL_HEAPID heapid,
    size_t size
) 

function private_heap_deallocate

void cubmem::private_heap_deallocate (
    cubthread::entry * thread_p,
    HL_HEAPID heapid,
    void * ptr
) 

function ptr_align

template<typename T>
inline T * cubmem::ptr_align (
    T * ptr
) 

function register_private_allocator

void cubmem::register_private_allocator (
    cubthread::entry * thread_p
) 

function standard_alloc

void cubmem::standard_alloc (
    block & b,
    size_t size
) 

function standard_dealloc

void cubmem::standard_dealloc (
    block & b
) 

function switch_to_global_allocator_and_call

template<typename  Func, typename ... Args>
inline void cubmem::switch_to_global_allocator_and_call (
    Func && func,
    Args &&... args
) 


The documentation for this class was generated from the following file cubrid/src/base/extensible_array.hpp