mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-06-03 18:54:16 +03:00
Do not reset sample wait time when re-initing tdata
This commit is contained in:
parent
855d20f6f3
commit
1e2524e15a
3 changed files with 4 additions and 8 deletions
|
|
@ -1245,7 +1245,7 @@ prof_bt_keycomp(const void *k1, const void *k2) {
|
|||
|
||||
prof_tdata_t *
|
||||
prof_tdata_init_impl(tsd_t *tsd, uint64_t thr_uid, uint64_t thr_discrim,
|
||||
char *thread_name, bool active, bool reset_interval) {
|
||||
char *thread_name, bool active) {
|
||||
assert(tsd_reentrancy_level_get(tsd) == 0);
|
||||
|
||||
prof_tdata_t *tdata;
|
||||
|
|
@ -1274,10 +1274,6 @@ prof_tdata_init_impl(tsd_t *tsd, uint64_t thr_uid, uint64_t thr_discrim,
|
|||
return NULL;
|
||||
}
|
||||
|
||||
if (reset_interval) {
|
||||
prof_sample_threshold_update(tsd);
|
||||
}
|
||||
|
||||
tdata->enq = false;
|
||||
tdata->enq_idump = false;
|
||||
tdata->enq_gdump = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue