Class NativeAllocator

java.lang.Object
org.apache.cassandra.utils.memory.MemtableAllocator
org.apache.cassandra.utils.memory.NativeAllocator

public class NativeAllocator extends MemtableAllocator
This NativeAllocator uses global slab allocation strategy with slab size that scales exponentially from 8KiB to 1MiB to serve allocation of up to 128KiB.

The slab allocation reduces heap fragmentation from small long-lived objects.