mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-28 11:23:08 +03:00
Add safety check on sdallocx slow / sampled path.
This commit is contained in:
parent
88d9eca848
commit
974222c626
4 changed files with 19 additions and 5 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#ifndef JEMALLOC_INTERNAL_SAFETY_CHECK_H
|
||||
#define JEMALLOC_INTERNAL_SAFETY_CHECK_H
|
||||
|
||||
void safety_check_fail_sized_dealloc(bool current_dealloc);
|
||||
void safety_check_fail(const char *format, ...);
|
||||
/* Can set to NULL for a default. */
|
||||
void safety_check_set_abort(void (*abort_fn)(const char *));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue