mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-30 23:18:04 +03:00
Fix stats.arenas.<i>.[...] for --disable-stats case.
Add missing stats.arenas.<i>.{dss,lg_dirty_mult,decay_time}
initialization.
Fix stats.arenas.<i>.{pactive,pdirty} to read under the protection of
the arena mutex.
This commit is contained in:
parent
fd4858225b
commit
3c07f803aa
6 changed files with 114 additions and 80 deletions
|
|
@ -38,6 +38,9 @@ struct ctl_arena_stats_s {
|
|||
ssize_t decay_time;
|
||||
size_t pactive;
|
||||
size_t pdirty;
|
||||
|
||||
/* The remainder are only populated if config_stats is true. */
|
||||
|
||||
arena_stats_t astats;
|
||||
|
||||
/* Aggregate stats for small size classes, based on bin stats. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue