rpmalloc: Increase the thread cache multiplier somewhat.
Now that the previous commit introduced the adaptive thread cache, the thread cache multiplier is just a "hard limit", and often not reached. So we can increase it a bit without adversely affecting memory usage that much.
This commit is contained in:
@@ -77,7 +77,7 @@
|
|||||||
#if !ENABLE_UNLIMITED_THREAD_CACHE
|
#if !ENABLE_UNLIMITED_THREAD_CACHE
|
||||||
//! Multiplier for thread cache (cache limit will be span release count multiplied by this value)
|
//! Multiplier for thread cache (cache limit will be span release count multiplied by this value)
|
||||||
#ifdef __HAIKU__
|
#ifdef __HAIKU__
|
||||||
#define THREAD_CACHE_MULTIPLIER 4
|
#define THREAD_CACHE_MULTIPLIER 8
|
||||||
#else
|
#else
|
||||||
#define THREAD_CACHE_MULTIPLIER 16
|
#define THREAD_CACHE_MULTIPLIER 16
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user