Sanity check szind on tcache flush.

This adds some overhead to the tcache flush path (which is one of the
popular paths).  Guard it behind a config option.
This commit is contained in:
Qi Wang
2019-01-22 13:59:23 -08:00
committed by Qi Wang
parent b33eb26dee
commit e13400c919
3 changed files with 59 additions and 2 deletions

View File

@@ -372,4 +372,7 @@
*/
#undef JEMALLOC_STRERROR_R_RETURNS_CHAR_WITH_GNU_SOURCE
/* Performs additional size-matching sanity checks when defined. */
#undef JEMALLOC_EXTRA_SIZE_CHECK
#endif /* JEMALLOC_INTERNAL_DEFS_H_ */