Enable support for junk/zero filling by default.
This commit is contained in:
parent
d073a32109
commit
777c191485
4
INSTALL
4
INSTALL
@ -99,8 +99,8 @@ any of the following arguments (not a definitive list) to 'configure':
|
|||||||
Enable support for page allocation/deallocation via sbrk(2), in addition to
|
Enable support for page allocation/deallocation via sbrk(2), in addition to
|
||||||
mmap(2).
|
mmap(2).
|
||||||
|
|
||||||
--enable-fill
|
--disable-fill
|
||||||
Enable support for junk/zero filling of memory. See the "opt.junk"/
|
Disable support for junk/zero filling of memory. See the "opt.junk"/
|
||||||
"opt.zero" option documentation for usage details.
|
"opt.zero" option documentation for usage details.
|
||||||
|
|
||||||
--enable-xmalloc
|
--enable-xmalloc
|
||||||
|
@ -425,7 +425,8 @@ fi
|
|||||||
|
|
||||||
dnl Enable statistics calculation by default.
|
dnl Enable statistics calculation by default.
|
||||||
AC_ARG_ENABLE([stats],
|
AC_ARG_ENABLE([stats],
|
||||||
[AS_HELP_STRING([--enable-stats], [Enable statistics calculation/reporting])],
|
[AS_HELP_STRING([--disable-stats],
|
||||||
|
[Disable statistics calculation/reporting])],
|
||||||
[if test "x$enable_stats" = "xno" ; then
|
[if test "x$enable_stats" = "xno" ; then
|
||||||
enable_stats="0"
|
enable_stats="0"
|
||||||
else
|
else
|
||||||
@ -594,16 +595,16 @@ if test "x$enable_dss" = "x1" ; then
|
|||||||
fi
|
fi
|
||||||
AC_SUBST([enable_dss])
|
AC_SUBST([enable_dss])
|
||||||
|
|
||||||
dnl Do not support the junk/zero filling option by default.
|
dnl Support the junk/zero filling option by default.
|
||||||
AC_ARG_ENABLE([fill],
|
AC_ARG_ENABLE([fill],
|
||||||
[AS_HELP_STRING([--enable-fill], [Support junk/zero filling option])],
|
[AS_HELP_STRING([--disable-fill], [Disable support for junk/zero filling])],
|
||||||
[if test "x$enable_fill" = "xno" ; then
|
[if test "x$enable_fill" = "xno" ; then
|
||||||
enable_fill="0"
|
enable_fill="0"
|
||||||
else
|
else
|
||||||
enable_fill="1"
|
enable_fill="1"
|
||||||
fi
|
fi
|
||||||
],
|
],
|
||||||
[enable_fill="0"]
|
[enable_fill="1"]
|
||||||
)
|
)
|
||||||
if test "x$enable_fill" = "x1" ; then
|
if test "x$enable_fill" = "x1" ; then
|
||||||
AC_DEFINE([JEMALLOC_FILL], [ ])
|
AC_DEFINE([JEMALLOC_FILL], [ ])
|
||||||
|
Loading…
Reference in New Issue
Block a user