mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 00:57:19 +03:00
Remove opt_background_thread_hpa_interval_max_ms
Now that HPA can communicate the time until its deferred work should be done, this option is not used anymore.
This commit is contained in:
parent
8229cc77c5
commit
6e848a005e
8 changed files with 34 additions and 64 deletions
|
|
@ -77,7 +77,7 @@ wait_until_thread_is_enabled(unsigned arena_id) {
|
|||
malloc_mutex_lock(tsd_tsdn(tsd), &info->mtx);
|
||||
malloc_mutex_unlock(tsd_tsdn(tsd), &info->mtx);
|
||||
sleeping = background_thread_indefinite_sleep(info);
|
||||
assert_d_lt(iterations, (int)1e6,
|
||||
assert_d_lt(iterations, UINT64_C(1000000),
|
||||
"Waiting for a thread to start for too long");
|
||||
} while (!sleeping);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue