mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-24 05:33:06 +00:00
Tell edatas their creation arena immediately.
This avoids having to pass it in anywhere else.
This commit is contained in:
committed by
David Goldblatt
parent
7c7b702064
commit
040eac77cc
@@ -468,6 +468,7 @@ base_alloc_edata(tsdn_t *tsdn, base_t *base) {
|
||||
if (edata == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
edata_arena_ind_set(edata, ehooks_ind_get(&base->ehooks));
|
||||
edata_esn_set(edata, esn);
|
||||
return edata;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user