Remove ChunkAllocator

This commit is contained in:
Matthew Parkinson
2022-03-23 16:08:53 +00:00
committed by Matthew Parkinson
parent 73be8a3786
commit 821620133d
8 changed files with 18 additions and 475 deletions

View File

@@ -24,8 +24,6 @@ namespace snmalloc
private:
using Backend = BackendAllocator<Pal, false>;
SNMALLOC_REQUIRE_CONSTINIT
inline static ChunkAllocatorState chunk_allocator_state;
SNMALLOC_REQUIRE_CONSTINIT
inline static GlobalPoolState alloc_pool;
@@ -46,12 +44,6 @@ namespace snmalloc
}
();
static ChunkAllocatorState&
get_chunk_allocator_state(Backend::LocalState* = nullptr)
{
return chunk_allocator_state;
}
static GlobalPoolState& pool()
{
return alloc_pool;