mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-06-16 00:45:38 +03:00
PA: Move in nactive counter.
This commit is contained in:
parent
c075fd0bcb
commit
527dd4cdb8
5 changed files with 38 additions and 36 deletions
|
|
@ -3516,7 +3516,7 @@ experimental_arenas_i_pactivep_ctl(tsd_t *tsd, const size_t *mib,
|
|||
#if defined(JEMALLOC_GCC_ATOMIC_ATOMICS) || \
|
||||
defined(JEMALLOC_GCC_SYNC_ATOMICS) || defined(_MSC_VER)
|
||||
/* Expose the underlying counter for fast read. */
|
||||
pactivep = (size_t *)&(arena->nactive.repr);
|
||||
pactivep = (size_t *)&(arena->pa_shard.nactive.repr);
|
||||
READ(pactivep, size_t *);
|
||||
ret = 0;
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue