Structsยง
- Block
List - List of blocks owned by the allocator
- Block
List Iterator
Constantsยง
- MAX_BIN ๐
- The largest valid bin.
- MAX_
BIN_ ๐SIZE - The object size for the last bin. We should not try allocate objects larger than this with the allocator.
- MI_
BIN_ ๐FULL - Number of bins in BlockLists. Reserve bin0 as an empty bin.
- MI_
INTPTR_ ๐BITS - pointer size in bits
- MI_
INTPTR_ ๐SHIFT - Log2 of pointer size
- MI_
INTPTR_ ๐SIZE - pointer size in bytes
- MI_
LARGE_ ๐OBJ_ SIZE_ MAX - Largest object size allowed with our mimalloc implementation, in bytes
- MI_
LARGE_ ๐OBJ_ WSIZE_ MAX - Largest object size in words
Functionsยง
- mi_bin
- mi_
bin_ ๐from_ size - mi_
wsize_ ๐from_ size - Align a byte size to a size in machine words
i.e. byte size ==
wsize*sizeof(void*)adapted from _mi_wsize_from_size in mimalloc - new_
empty_ ๐block_ lists - Create an empty set of block lists of different size classes (bins)
- pages_
used_ ๐by_ blocklists - Returns how many pages the block lists uses.
Type Aliasesยง
- Block
Lists - All the bins for the block lists