1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-08 14:22:09 +03:00

fix(perf,allocator): reduce CountingAllocator step size to improve its memory consumption reaction speed.

This commit is contained in:
drrtuy
2025-04-29 18:50:45 +00:00
parent e2ea3e7a2c
commit 828d1dc4f7
7 changed files with 17 additions and 84 deletions

View File

@@ -59,7 +59,6 @@ class PoolAllocator
, useLock(_useLock)
, lock(false)
{
std::cout << "PoolAllocator w/o counting allocator created" << std::endl;
}
PoolAllocator(allocators::CountingAllocator<PoolAllocatorBufType> alloc, unsigned windowSize = DEFAULT_WINDOW_SIZE,
bool isTmpSpace = false, bool _useLock = false)
@@ -72,7 +71,6 @@ class PoolAllocator
, lock(false)
, alloc(alloc)
{
std::cout << "PoolAllocator with counting allocator created" << std::endl;
}
PoolAllocator(const PoolAllocator& p)
: allocSize(p.allocSize)