diff --git a/src/mem/largealloc.h b/src/mem/largealloc.h index 4745471..6c26ab7 100644 --- a/src/mem/largealloc.h +++ b/src/mem/largealloc.h @@ -2,6 +2,7 @@ #include "../ds/flaglock.h" #include "../ds/mpmcstack.h" +#include "../ds/helpers.h" #include "../pal/pal.h" #include "allocstats.h" #include "baseslab.h" @@ -62,7 +63,7 @@ namespace snmalloc /** * Stack of large allocations that have been returned for reuse. */ - MPMCStack large_stack[NUM_LARGE_CLASSES]; + ModArray> large_stack; /** * Primitive allocator for structure that are required before