mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-05-04 19:09:57 +03:00
Allow low values of oversize_threshold to disable the feature.
We should allow a way to easily disable the feature (e.g. not reserving the arena id at all).
This commit is contained in:
parent
a4d017f5e5
commit
788a657cee
1 changed files with 2 additions and 2 deletions
|
|
@ -1248,8 +1248,8 @@ malloc_conf_init(sc_data_t *sc_data, unsigned bin_shard_sizes[SC_NBINS]) {
|
|||
* contention on the huge arena.
|
||||
*/
|
||||
CONF_HANDLE_SIZE_T(opt_oversize_threshold,
|
||||
"oversize_threshold", SC_LARGE_MINCLASS,
|
||||
SC_LARGE_MAXCLASS, yes, yes, false)
|
||||
"oversize_threshold", 0, SC_LARGE_MAXCLASS, no, yes,
|
||||
false)
|
||||
CONF_HANDLE_SIZE_T(opt_lg_extent_max_active_fit,
|
||||
"lg_extent_max_active_fit", 0,
|
||||
(sizeof(size_t) << 3), yes, yes, false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue