mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-24 16:13:38 +03:00
PAC: Move in edata_cache accesses.
This commit is contained in:
parent
777b0ba965
commit
722652222a
4 changed files with 16 additions and 14 deletions
1
src/pa.c
1
src/pa.c
|
|
@ -57,6 +57,7 @@ pa_shard_init(tsdn_t *tsdn, pa_shard_t *shard, emap_t *emap, base_t *base,
|
|||
if (edata_cache_init(&shard->edata_cache, base)) {
|
||||
return true;
|
||||
}
|
||||
shard->pac.edata_cache = &shard->edata_cache;
|
||||
|
||||
if (ecache_grow_init(tsdn, &shard->ecache_grow)) {
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue