mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 22:51:50 +03:00
Set the default number of background threads to 4.
The setting has been tested in production for a while. No negative effect while we were able to reduce number of threads per process.
This commit is contained in:
parent
43f3b1ad0c
commit
c4063ce439
2 changed files with 4 additions and 4 deletions
|
|
@ -9,6 +9,7 @@
|
|||
|
||||
#define BACKGROUND_THREAD_INDEFINITE_SLEEP UINT64_MAX
|
||||
#define MAX_BACKGROUND_THREAD_LIMIT MALLOCX_ARENA_LIMIT
|
||||
#define DEFAULT_NUM_BACKGROUND_THREAD 4
|
||||
|
||||
typedef enum {
|
||||
background_thread_stopped,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue