pub fn counted_calloc<VM: VMBinding>(
mmtk: &MMTK<VM>,
num: usize,
size: usize,
) -> Address
Expand description
The standard calloc except that with the feature malloc_counted_size
, MMTk will count the allocated memory into its heap size.
Thus the method requires a reference to an MMTk instance.