mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-10 09:41:04 +03:00
PA: Move edata_avail stat in, make it non-atomic.
This commit is contained in:
parent
f6bfa3dcca
commit
3c28aa6f17
5 changed files with 8 additions and 13 deletions
|
|
@ -52,9 +52,6 @@ struct arena_stats_s {
|
|||
*/
|
||||
locked_zu_t retained; /* Derived. */
|
||||
|
||||
/* Number of edata_t structs allocated by base, but not being used. */
|
||||
atomic_zu_t edata_avail; /* Derived. */
|
||||
|
||||
atomic_zu_t base; /* Derived. */
|
||||
atomic_zu_t internal;
|
||||
atomic_zu_t resident; /* Derived. */
|
||||
|
|
|
|||
|
|
@ -69,6 +69,9 @@ struct pa_shard_stats_s {
|
|||
*/
|
||||
locked_zu_t mapped;
|
||||
|
||||
/* Number of edata_t structs allocated by base, but not being used. */
|
||||
size_t edata_avail; /* Derived. */
|
||||
|
||||
/* VM space had to be leaked (undocumented). Normally 0. */
|
||||
atomic_zu_t abandoned_vm;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue