Add an override for the compile-time malloc_conf to jemalloc_internal_overrides.h

This commit is contained in:
Kevin Svetlitski 2023-07-28 11:54:27 -07:00 committed by Qi Wang
parent 9ba1e1cb37
commit b01d496646

View File

@ -13,4 +13,9 @@
#define LG_PAGE JEMALLOC_OVERRIDE_LG_PAGE #define LG_PAGE JEMALLOC_OVERRIDE_LG_PAGE
#endif #endif
#ifdef JEMALLOC_OVERRIDE_JEMALLOC_CONFIG_MALLOC_CONF
#undef JEMALLOC_CONFIG_MALLOC_CONF
#define JEMALLOC_CONFIG_MALLOC_CONF JEMALLOC_OVERRIDE_JEMALLOC_CONFIG_MALLOC_CONF
#endif
#endif /* JEMALLOC_INTERNAL_OVERRIDES_H */ #endif /* JEMALLOC_INTERNAL_OVERRIDES_H */