Function mmtk::util::malloc::free_with_size

source ·
pub fn free_with_size<VM: VMBinding>(
    mmtk: &MMTK<VM>,
    addr: Address,
    old_size: usize
)
Expand description

Manually free the memory that is returned from other manual allocation functions in this module. This also reduces the allocated memory size.