mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-24 05:33:06 +00:00
Stats, CTL: Expose new tcache settings.
This commit is contained in:
committed by
David Goldblatt
parent
ee72bf1cfd
commit
7503b5b33a
12
src/tcache.c
12
src/tcache.c
@@ -33,6 +33,12 @@ unsigned opt_tcache_nslots_large = 20;
|
||||
*/
|
||||
ssize_t opt_lg_tcache_nslots_mul = -1;
|
||||
|
||||
/*
|
||||
* Number of allocation bytes between tcache incremental GCs. Again, this
|
||||
* default just seems to work well; more tuning is possible.
|
||||
*/
|
||||
size_t opt_tcache_gc_incr_bytes = 65536;
|
||||
|
||||
/*
|
||||
* With default settings, we may end up flushing small bins frequently with
|
||||
* small flush amounts. To limit this tendency, we can set a number of bytes to
|
||||
@@ -47,12 +53,6 @@ ssize_t opt_lg_tcache_nslots_mul = -1;
|
||||
*/
|
||||
size_t opt_tcache_gc_delay_bytes = 0;
|
||||
|
||||
/*
|
||||
* Number of allocation bytes between tcache incremental GCs. Again, this
|
||||
* default just seems to work well; more tuning is possible.
|
||||
*/
|
||||
size_t opt_tcache_gc_incr_bytes = 65536;
|
||||
|
||||
cache_bin_info_t *tcache_bin_info;
|
||||
|
||||
/* Total stack size required (per tcache). Include the padding above. */
|
||||
|
||||
Reference in New Issue
Block a user