mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 14:41:42 +03:00
PA: Move mapped into pa stats.
This commit is contained in:
parent
6ca918d0cf
commit
70d12ffa05
7 changed files with 44 additions and 35 deletions
|
|
@ -151,7 +151,7 @@ large_ralloc_no_move_expand(tsdn_t *tsdn, edata_t *edata, size_t usize,
|
|||
emap_remap(tsdn, &emap_global, edata, szind, false);
|
||||
|
||||
if (config_stats && new_mapping) {
|
||||
arena_stats_mapped_add(tsdn, &arena->stats, trailsize);
|
||||
pa_shard_stats_mapped_add(tsdn, &arena->pa_shard, trailsize);
|
||||
}
|
||||
|
||||
if (zero) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue