Update the default value for opt_experimental_tcache_gc and opt_calloc_madvise_threshold

This commit is contained in:
Shirui Cheng 2025-06-04 13:28:37 -07:00 committed by Guangli Dai
parent e350c71571
commit a952a3b8b0
2 changed files with 5 additions and 2 deletions

View file

@ -145,4 +145,6 @@ typedef enum malloc_init_e malloc_init_t;
assert(sizeof(type) * (count) <= VARIABLE_ARRAY_SIZE_MAX); \
VARIABLE_ARRAY_UNSAFE(type, name, count)
#define CALLOC_MADVISE_THRESHOLD_DEFAULT (((size_t)1) << 23) /* 8 MB */
#endif /* JEMALLOC_INTERNAL_TYPES_H */