Rename slab_allocator to chunk_allocator

This commit is contained in:
Matthew Parkinson
2021-10-20 11:12:09 +01:00
committed by Matthew Parkinson
parent 342d826310
commit 4a7cd268f8
7 changed files with 17 additions and 17 deletions

View File

@@ -25,7 +25,7 @@ namespace snmalloc
private:
using Backend = BackendAllocator<Pal, false>;
SNMALLOC_REQUIRE_CONSTINIT
inline static ChunkAllocatorState slab_allocator_state;
inline static ChunkAllocatorState chunk_allocator_state;
SNMALLOC_REQUIRE_CONSTINIT
inline static GlobalPoolState alloc_pool;
@@ -47,9 +47,9 @@ namespace snmalloc
();
static ChunkAllocatorState&
get_slab_allocator_state(Backend::LocalState* = nullptr)
get_chunk_allocator_state(Backend::LocalState* = nullptr)
{
return slab_allocator_state;
return chunk_allocator_state;
}
static GlobalPoolState& pool()