mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-26 09:03:33 +03:00
PA: move in ecache_grow.
This commit is contained in:
parent
32cb7c2f0b
commit
acd0bf6a26
6 changed files with 32 additions and 29 deletions
4
src/pa.c
4
src/pa.c
|
|
@ -38,6 +38,10 @@ pa_shard_init(tsdn_t *tsdn, pa_shard_t *shard, base_t *base, unsigned ind,
|
|||
return true;
|
||||
}
|
||||
|
||||
if (ecache_grow_init(tsdn, &shard->ecache_grow)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
shard->stats = stats;
|
||||
memset(shard->stats, 0, sizeof(*shard->stats));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue