MySQL 9.1.0
Source Code Documentation
|
TempTable custom allocator. More...
#include <algorithm>
#include <atomic>
#include <cstddef>
#include <limits>
#include <memory>
#include <new>
#include <utility>
#include "my_dbug.h"
#include "my_sys.h"
#include "sql/current_thd.h"
#include "sql/mysqld.h"
#include "sql/sql_class.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::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 > |
Variables | |
std::atomic_uint64_t | temptable::count_hit_max_ram {} |
Status variable that counts the memory limit breaches. More... | |
TempTable custom allocator.