diff --git a/jemalloc/src/arena.c b/jemalloc/src/arena.c index 49d59277..289fac1c 100644 --- a/jemalloc/src/arena.c +++ b/jemalloc/src/arena.c @@ -570,6 +570,7 @@ arena_chunk_purge(arena_t *arena, arena_chunk_t *chunk) chunk->map[pageind + npages - 1].bits |= (CHUNK_MAP_LARGE | CHUNK_MAP_ALLOCATED); + arena->nactive += npages; /* * Append to list for later processing. */