malloc from jl_gc_managed_malloc
is not counted in the heap size.
#136
Labels
bug
Something isn't working
jl_gc_managed_malloc
is not counted in the heap size.
#136
The bytes allocated by
jl_gc_managed_malloc()
ingc-common.c
is counted ingc_num.malloc
andgc_num.allocd
, but it is not counted into MMTk heap.https://github.com/mmtk/julia/blob/861f151c7fbec1d8431a804795bd3d3598b77e3b/src/gc-common.c#L760
We use
JULIA_MALLOC_BYTES
to count malloc bytes in functions likejl_gc_counted_malloc
(in mmtk-gc.c, https://github.com/mmtk/julia/blob/861f151c7fbec1d8431a804795bd3d3598b77e3b/src/mmtk-gc.c#L380).The text was updated successfully, but these errors were encountered: