mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-24 05:33:06 +00:00
Tcache: Make flush fractions configurable.
This commit is contained in:
committed by
David Goldblatt
parent
7503b5b33a
commit
6cdac3c573
@@ -1397,6 +1397,12 @@ malloc_conf_init_helper(sc_data_t *sc_data, unsigned bin_shard_sizes[SC_NBINS],
|
||||
"tcache_gc_delay_bytes", 0, SIZE_T_MAX,
|
||||
CONF_DONT_CHECK_MIN, CONF_DONT_CHECK_MAX,
|
||||
/* clip */ false)
|
||||
CONF_HANDLE_UNSIGNED(opt_lg_tcache_flush_small_div,
|
||||
"lg_tcache_flush_small_div", 1, 16,
|
||||
CONF_CHECK_MIN, CONF_CHECK_MAX, /* clip */ true)
|
||||
CONF_HANDLE_UNSIGNED(opt_lg_tcache_flush_large_div,
|
||||
"lg_tcache_flush_large_div", 1, 16,
|
||||
CONF_CHECK_MIN, CONF_CHECK_MAX, /* clip */ true)
|
||||
|
||||
/*
|
||||
* The runtime option of oversize_threshold remains
|
||||
|
||||
Reference in New Issue
Block a user