summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Evans <je@fb.com>2012-03-03 01:47:37 (GMT)
committerJason Evans <je@fb.com>2012-03-03 01:47:37 (GMT)
commit7e77eaffffe5c73d44ee64b14ba4b3d7693179d6 (patch)
tree71c25903b997ddb36190f06b4e238830f27916e3 /src
parent7b398aca3bfa558774548ffed6c1a8baba46cc79 (diff)
downloadjemalloc-7e77eaffffe5c73d44ee64b14ba4b3d7693179d6.zip
jemalloc-7e77eaffffe5c73d44ee64b14ba4b3d7693179d6.tar.gz
jemalloc-7e77eaffffe5c73d44ee64b14ba4b3d7693179d6.tar.bz2
Add the --disable-experimental option.
Diffstat (limited to 'src')
-rw-r--r--src/jemalloc.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/jemalloc.c b/src/jemalloc.c
index 6e34706..3c39c85 100644
--- a/src/jemalloc.c
+++ b/src/jemalloc.c
@@ -1361,6 +1361,15 @@ je_mallctlbymib(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp,
return (ctl_bymib(mib, miblen, oldp, oldlenp, newp, newlen));
}
+/*
+ * End non-standard functions.
+ */
+/******************************************************************************/
+/*
+ * Begin experimental functions.
+ */
+#ifdef JEMALLOC_EXPERIMENTAL
+
JEMALLOC_INLINE void *
iallocm(size_t usize, size_t alignment, bool zero)
{
@@ -1601,8 +1610,9 @@ je_nallocm(size_t *rsize, size_t size, int flags)
return (ALLOCM_SUCCESS);
}
+#endif
/*
- * End non-standard functions.
+ * End experimental functions.
*/
/******************************************************************************/