Function mmtk::util::malloc::malloc_ms_util::align_offset_alloc
source · pub fn align_offset_alloc<VM: VMBinding>(
size: usize,
align: usize,
offset: usize
) -> Address
Expand description
Allocate with alignment and offset. Beside returning the allocation result, this will store the malloc result at (result - BYTES_IN_ADDRESS) so we know the original malloc result.