mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-05-21 20:36:28 +03:00
Do not rollback prof idump counter in arena_prof_promote()
This commit is contained in:
parent
0295aa38a2
commit
039bfd4e30
6 changed files with 1 additions and 93 deletions
|
|
@ -1061,8 +1061,6 @@ arena_prof_promote(tsdn_t *tsdn, void *ptr, size_t usize) {
|
|||
edata_szind_set(edata, szind);
|
||||
emap_remap(tsdn, &arena_emap_global, edata, szind, /* slab */ false);
|
||||
|
||||
prof_idump_rollback(tsdn, usize);
|
||||
|
||||
assert(isalloc(tsdn, ptr) == usize);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue