Expand description
The allocator trait and allocation-related functions.
Structs§
- Allocation
Options - Allow specifying different behaviors with
Allocator::alloc_with_options. - Allocation
Options 🔒Holder - A wrapper for
AllocatorContextto hold aAllocationOptionsthat can be modified by the same mutator thread. - Allocator
Context - The context an allocator needs to access in order to perform allocation.
Enums§
- Allocation
Error - A list of errors that MMTk can encounter during allocation.
Traits§
- Allocator
- A trait which implements allocation routines. Every allocator needs to implements this trait.
Functions§
- align_
allocation - align_
allocation_ inner - align_
allocation_ no_ fill - assert_
allocation_ 🔒args - fill_
alignment_ gap - Fill the specified region with the alignment value.
- get_
maximum_ aligned_ size - get_
maximum_ aligned_ size_ inner