mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-31 23:48:19 +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
|
|
@ -795,7 +795,7 @@ prof_thr_uid_alloc(tsdn_t *tsdn) {
|
|||
prof_tdata_t *
|
||||
prof_tdata_init(tsd_t *tsd) {
|
||||
return prof_tdata_init_impl(tsd, prof_thr_uid_alloc(tsd_tsdn(tsd)), 0,
|
||||
NULL, prof_thread_active_init_get(tsd_tsdn(tsd)), false);
|
||||
NULL, prof_thread_active_init_get(tsd_tsdn(tsd)));
|
||||
}
|
||||
|
||||
prof_tdata_t *
|
||||
|
|
@ -808,7 +808,7 @@ prof_tdata_reinit(tsd_t *tsd, prof_tdata_t *tdata) {
|
|||
|
||||
prof_tdata_detach(tsd, tdata);
|
||||
return prof_tdata_init_impl(tsd, thr_uid, thr_discrim, thread_name,
|
||||
active, true);
|
||||
active);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue