mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 13:13:06 +00:00
Refactor the tcache initiailization
1. Pre-generate all default tcache ncached_max in tcache_boot; 2. Add getters returning default ncached_max and ncached_max_set; 3. Refactor tcache init so that it is always init with a given setting.
This commit is contained in:
@@ -2,8 +2,6 @@
|
||||
#include "test/san.h"
|
||||
|
||||
const char *malloc_conf = TEST_SAN_UAF_ALIGN_DISABLE;
|
||||
extern void tcache_bin_info_compute(
|
||||
cache_bin_info_t tcache_bin_info[TCACHE_NBINS_MAX]);
|
||||
|
||||
enum {
|
||||
alloc_option_start = 0,
|
||||
|
||||
Reference in New Issue
Block a user