Lock-free memory allocator