mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-05-17 10:26:27 +03:00
Tcache: Make flush fractions configurable.
This commit is contained in:
parent
7503b5b33a
commit
6cdac3c573
6 changed files with 29 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue