rpmalloc
rpmalloc copied to clipboard
perf: check global cache before extracting from reserved memory
The allocator should check the global cache for an available span before extracting a span of memory from the reserved memory to avoid cache bloating. Besides, extracting from reserved memory eagerly may also increase the degree of memory fragmentation.