mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-25 08:33:38 +03:00
Initialize prof idump counter once rather than once per arena
This commit is contained in:
parent
e10e5059e8
commit
8be5584494
3 changed files with 6 additions and 9 deletions
|
|
@ -1463,12 +1463,6 @@ arena_new(tsdn_t *tsdn, unsigned ind, extent_hooks_t *extent_hooks) {
|
|||
}
|
||||
}
|
||||
|
||||
if (config_prof) {
|
||||
if (prof_accum_init()) {
|
||||
goto label_error;
|
||||
}
|
||||
}
|
||||
|
||||
atomic_store_u(&arena->dss_prec, (unsigned)extent_dss_prec_get(),
|
||||
ATOMIC_RELAXED);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue