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:
@@ -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_ */
|
||||
|
Reference in New Issue
Block a user