Module mmtk::policy::marksweepspace::native_ms::block_list
source · Structs§
- List of blocks owned by the allocator
Constants§
- MAX_BIN 🔒The largest valid bin.
- The object size for the last bin. We should not try allocate objects larger than this with the allocator.
- Number of bins in BlockLists. Reserve bin0 as an empty bin.
- pointer size in bits
- Log2 of pointer size
- pointer size in bytes
- Largest object size allowed with our mimalloc implementation, in bytes
- Largest object size in words
Functions§
- 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 - Create an empty set of block lists of different size classes (bins)
- Returns how many pages the block lists uses.
Type Aliases§
- All the bins for the block lists