mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 21:23:06 +00:00
Tcache: Make flush fractions configurable.
This commit is contained in:
committed by
David Goldblatt
parent
7503b5b33a
commit
6cdac3c573
@@ -53,6 +53,13 @@ size_t opt_tcache_gc_incr_bytes = 65536;
|
||||
*/
|
||||
size_t opt_tcache_gc_delay_bytes = 0;
|
||||
|
||||
/*
|
||||
* When a cache bin is flushed because it's full, how much of it do we flush?
|
||||
* By default, we flush half the maximum number of items.
|
||||
*/
|
||||
unsigned opt_lg_tcache_flush_small_div = 1;
|
||||
unsigned opt_lg_tcache_flush_large_div = 1;
|
||||
|
||||
cache_bin_info_t *tcache_bin_info;
|
||||
|
||||
/* Total stack size required (per tcache). Include the padding above. */
|
||||
|
||||
Reference in New Issue
Block a user