mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-18 08:31:46 +03:00
Fix stats.mapped during deallocation.
This commit is contained in:
parent
67c93c332a
commit
1df18d7c83
1 changed files with 1 additions and 1 deletions
|
|
@ -968,7 +968,7 @@ arena_decay_stashed(tsdn_t *tsdn, arena_t *arena,
|
|||
arena_stats_add_u64(tsdn, &arena->stats, &decay->stats->purged,
|
||||
npurged);
|
||||
arena_stats_sub_zu(tsdn, &arena->stats, &arena->stats.mapped,
|
||||
nunmapped);
|
||||
nunmapped << LG_PAGE);
|
||||
arena_stats_unlock(tsdn, &arena->stats);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue