diff options
author | Jason Evans <jasone@canonware.com> | 2014-10-04 22:00:51 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2014-10-04 22:00:51 (GMT) |
commit | 16854ebeb77c9403ebd1b85fdd46ee80bb3f3e9d (patch) | |
tree | 9309c688bd5c092a16baf04f5e06f30693468b9b | |
parent | 47395a1b4c0793f676b89a763daaed1cbb510529 (diff) | |
download | jemalloc-16854ebeb77c9403ebd1b85fdd46ee80bb3f3e9d.zip jemalloc-16854ebeb77c9403ebd1b85fdd46ee80bb3f3e9d.tar.gz jemalloc-16854ebeb77c9403ebd1b85fdd46ee80bb3f3e9d.tar.bz2 |
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.
-rw-r--r-- | include/jemalloc/internal/tcache.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/jemalloc/internal/tcache.h b/include/jemalloc/internal/tcache.h index 1a70972..1b1d8d9 100644 --- a/include/jemalloc/internal/tcache.h +++ b/include/jemalloc/internal/tcache.h @@ -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) |