mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 22:51:50 +03:00
Don't disable tcache for lazy-lock.
Don't disable tcache when lazy-lock is configured. There already exists a mechanism to disable tcache, but doing so automatically due to lazy-lock causes surprising performance behavior.
This commit is contained in:
parent
47395a1b4c
commit
16854ebeb7
1 changed files with 0 additions and 2 deletions
|
|
@ -188,8 +188,6 @@ tcache_get(tsd_t *tsd, bool create)
|
|||
|
||||
if (!config_tcache)
|
||||
return (NULL);
|
||||
if (config_lazy_lock && !isthreaded)
|
||||
return (NULL);
|
||||
|
||||
tcache = tsd_tcache_get(tsd);
|
||||
if (!create)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue