mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-06-03 10:44:16 +03:00
Add a runtime option opt_experimental_tcache_gc to guard the new design
This commit is contained in:
parent
9e123a833c
commit
f68effe4ac
4 changed files with 9 additions and 0 deletions
|
|
@ -131,6 +131,7 @@ CTL_PROTO(opt_zero)
|
|||
CTL_PROTO(opt_utrace)
|
||||
CTL_PROTO(opt_xmalloc)
|
||||
CTL_PROTO(opt_experimental_infallible_new)
|
||||
CTL_PROTO(opt_experimental_tcache_gc)
|
||||
CTL_PROTO(opt_max_batched_size)
|
||||
CTL_PROTO(opt_remote_free_max)
|
||||
CTL_PROTO(opt_remote_free_max_batch)
|
||||
|
|
@ -494,6 +495,8 @@ static const ctl_named_node_t opt_node[] = {
|
|||
{NAME("xmalloc"), CTL(opt_xmalloc)},
|
||||
{NAME("experimental_infallible_new"),
|
||||
CTL(opt_experimental_infallible_new)},
|
||||
{NAME("experimental_tcache_gc"),
|
||||
CTL(opt_experimental_tcache_gc)},
|
||||
{NAME("max_batched_size"), CTL(opt_max_batched_size)},
|
||||
{NAME("remote_free_max"), CTL(opt_remote_free_max)},
|
||||
{NAME("remote_free_max_batch"), CTL(opt_remote_free_max_batch)},
|
||||
|
|
@ -2243,6 +2246,7 @@ CTL_RO_NL_CGEN(config_utrace, opt_utrace, opt_utrace, bool)
|
|||
CTL_RO_NL_CGEN(config_xmalloc, opt_xmalloc, opt_xmalloc, bool)
|
||||
CTL_RO_NL_CGEN(config_enable_cxx, opt_experimental_infallible_new,
|
||||
opt_experimental_infallible_new, bool)
|
||||
CTL_RO_NL_GEN(opt_experimental_tcache_gc, opt_experimental_tcache_gc, bool)
|
||||
CTL_RO_NL_GEN(opt_max_batched_size, opt_bin_info_max_batched_size, size_t)
|
||||
CTL_RO_NL_GEN(opt_remote_free_max, opt_bin_info_remote_free_max,
|
||||
size_t)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue