PA: Move in the arena edata_cache.

This commit is contained in:
David Goldblatt
2020-03-08 11:41:19 -07:00
committed by David Goldblatt
parent 8433ad84ea
commit 688fb3eb89
8 changed files with 48 additions and 45 deletions

View File

@@ -166,9 +166,6 @@ struct arena_s {
/* The grow info for the retained ecache. */
ecache_grow_t ecache_grow;
/* The source of edata_t objects. */
edata_cache_t edata_cache;
/*
* bins is used to store heaps of free regions.
*

View File

@@ -17,9 +17,12 @@ struct pa_shard_s {
ecache_t ecache_dirty;
ecache_t ecache_muzzy;
ecache_t ecache_retained;
/* The source of edata_t objects. */
edata_cache_t edata_cache;
};
/* Returns true on error. */
bool pa_shard_init(tsdn_t *tsdn, pa_shard_t *shard, unsigned ind);
bool pa_shard_init(tsdn_t *tsdn, pa_shard_t *shard, base_t *base, unsigned ind);
#endif /* JEMALLOC_INTERNAL_PA_H */