Add TSD reentrant stress test

This commit is contained in:
Farid Zakaria 2026-07-02 13:00:25 -07:00
parent 7ce8b9165d
commit 941474e5b0
5 changed files with 149 additions and 1 deletions

View file

@ -4,6 +4,7 @@
extern JEMALLOC_EXPORT void (*test_hooks_arena_new_hook)(void);
extern JEMALLOC_EXPORT void (*test_hooks_libc_hook)(void);
extern JEMALLOC_EXPORT void (*test_hooks_safety_check_abort)(const char *);
extern JEMALLOC_EXPORT void (*test_hooks_tsd_bootstrap_hook)(void);
#if defined(JEMALLOC_JET) || defined(JEMALLOC_UNIT_TEST)
# define JEMALLOC_TEST_HOOK(fn, hook) \