MySQL 8.0.40
Source Code Documentation
allocator.h File Reference

TempTable custom allocator. More...

#include <algorithm>
#include <cstddef>
#include <limits>
#include <memory>
#include <new>
#include <utility>
#include "my_dbug.h"
#include "my_sys.h"
#include "sql/mysqld.h"
#include "storage/temptable/include/temptable/block.h"
#include "storage/temptable/include/temptable/chunk.h"
#include "storage/temptable/include/temptable/constants.h"
#include "storage/temptable/include/temptable/memutils.h"

Go to the source code of this file.

Classes

struct  temptable::MemoryMonitor
 
struct  temptable::MemoryMonitor::RAM
 
struct  temptable::MemoryMonitor::MMAP
 
class  temptable::TableResourceMonitor
 
struct  temptable::Allocation_scheme< Block_size_policy, Block_source_policy >
 
struct  temptable::Prefer_RAM_over_MMAP_policy
 
struct  temptable::Prefer_RAM_over_MMAP_policy_obeying_per_table_limit
 
struct  temptable::Exponential_policy
 
class  temptable::AllocatorState< AllocationScheme >
 Shared state between all instances of a given allocator. More...
 
class  temptable::Allocator< T, AllocationScheme >
 Custom memory allocator. More...
 
struct  temptable::Allocator< T, AllocationScheme >::rebind< U >
 

Namespaces

namespace  temptable
 

Typedefs

using temptable::Exponential_growth_preferring_RAM_over_MMAP = Allocation_scheme< Exponential_policy, Prefer_RAM_over_MMAP_policy_obeying_per_table_limit >
 

Detailed Description

TempTable custom allocator.