diff --git a/include/malloc.h b/include/malloc.h index cf6b64ecd5dfe008f427170d9492141a76e20d7a..e60927b267bccb7df73189442f369a7fa15e01af 100644 --- a/include/malloc.h +++ b/include/malloc.h @@ -102,6 +102,10 @@ void malloc_stats_print(void (*write_cb) (void *, const char *), void *cbopaque, #define M_SET_QUARANTINE_MAX_BLOCK_SIZE (-1014) +#define M_ENABLE_ISOLATE_TCACHE (-1015) +#define M_ISOLATE_TCACHE_ENABLE 1 +#define M_ISOLATE_TCACHE_DISABLE 0 + int mallopt(int param, int value); ssize_t malloc_backtrace(void* pointer, uintptr_t* frames, size_t frame_count); #ifdef __cplusplus