Add the --disable-experimental option.

This commit is contained in:
Jason Evans
2012-03-02 17:47:37 -08:00
parent 7b398aca3b
commit 7e77eaffff
7 changed files with 63 additions and 14 deletions

View File

@@ -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.
*/
/******************************************************************************/