numpy/_core/src/multiarray/alloc.c line 33.
#define USE_ALLOC_CACHE 1
#ifdef Py_GIL_DISABLED
# define USE_ALLOC_CACHE 0
#elif defined(__has_feature)
# if __has_feature(address_sanitizer) || __has_feature(memory_sanitizer)
# define USE_ALLOC_CACHE 0
# endif
#endif