mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-24 17:47:22 +03:00
Tcache: Privatize opt_lg_tcache_max default.
This commit is contained in:
parent
10b96f6351
commit
ec0b579563
2 changed files with 6 additions and 4 deletions
|
|
@ -17,9 +17,6 @@ typedef struct tcaches_s tcaches_t;
|
|||
#define TCACHE_STATE_PURGATORY ((tcache_t *)(uintptr_t)3)
|
||||
#define TCACHE_STATE_MAX TCACHE_STATE_PURGATORY
|
||||
|
||||
/* (1U << opt_lg_tcache_max) is used to compute tcache_maxclass. */
|
||||
#define LG_TCACHE_MAXCLASS_DEFAULT 15
|
||||
|
||||
/* Number of allocation bytes between tcache incremental GCs. */
|
||||
#define TCACHE_GC_INCR_BYTES 65536U
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue