summaryrefslogtreecommitdiffstats
path: root/include/jemalloc/internal/quarantine.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/jemalloc/internal/quarantine.h')
-rw-r--r--include/jemalloc/internal/quarantine.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/jemalloc/internal/quarantine.h b/include/jemalloc/internal/quarantine.h
new file mode 100644
index 0000000..38f3d69
--- /dev/null
+++ b/include/jemalloc/internal/quarantine.h
@@ -0,0 +1,24 @@
+/******************************************************************************/
+#ifdef JEMALLOC_H_TYPES
+
+/* Default per thread quarantine size if valgrind is enabled. */
+#define JEMALLOC_VALGRIND_QUARANTINE_DEFAULT (ZU(1) << 24)
+
+#endif /* JEMALLOC_H_TYPES */
+/******************************************************************************/
+#ifdef JEMALLOC_H_STRUCTS
+
+#endif /* JEMALLOC_H_STRUCTS */
+/******************************************************************************/
+#ifdef JEMALLOC_H_EXTERNS
+
+void quarantine(void *ptr);
+bool quarantine_boot(void);
+
+#endif /* JEMALLOC_H_EXTERNS */
+/******************************************************************************/
+#ifdef JEMALLOC_H_INLINES
+
+#endif /* JEMALLOC_H_INLINES */
+/******************************************************************************/
+