Function mmtk::util::malloc::counted_calloc
source · pub fn counted_calloc<VM: VMBinding>(
mmtk: &MMTK<VM>,
num: usize,
size: usize
) -> Address
Expand description
Manually allocate memory and initialize the bytes in the allocated memory to zero. Similar to libc’s calloc. This also counts the allocated memory into the heap size of the given MMTk instance.