mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 14:41:42 +03:00
Emap: Move in iealloc.
This is logically scoped to the emap.
This commit is contained in:
parent
1d449bd9a6
commit
9b5d105fc3
13 changed files with 44 additions and 40 deletions
|
|
@ -272,7 +272,7 @@ void *
|
|||
large_ralloc(tsdn_t *tsdn, arena_t *arena, void *ptr, size_t usize,
|
||||
size_t alignment, bool zero, tcache_t *tcache,
|
||||
hook_ralloc_args_t *hook_args) {
|
||||
edata_t *edata = iealloc(tsdn, ptr);
|
||||
edata_t *edata = emap_lookup(tsdn, &emap_global, ptr);
|
||||
|
||||
size_t oldusize = edata_usize_get(edata);
|
||||
/* The following should have been caught by callers. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue