summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/mheapmap32.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/mheapmap32.c')
-rw-r--r--src/pkg/runtime/mheapmap32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pkg/runtime/mheapmap32.c b/src/pkg/runtime/mheapmap32.c
index 1e3598cbe..4481e11f6 100644
--- a/src/pkg/runtime/mheapmap32.c
+++ b/src/pkg/runtime/mheapmap32.c
@@ -84,6 +84,7 @@ MHeapMap_Preallocate(MHeapMap *m, PageID k, uintptr len)
p2 = m->allocator(sizeof *p2);
if(p2 == nil)
return false;
+ mstats.heapmap_sys += sizeof *p2;
m->p[i1] = p2;
}