summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-07-09 13:10:18 +0000
committerphk <phk@FreeBSD.org>2000-07-09 13:10:18 +0000
commit2845a5b5418b09c0de782a2383788f97a9683a35 (patch)
tree0a1dcf881159c7f1b848cff9e8ab2688cb13bec9 /lib/libc
parent56bc1eab2de553abe94956616dcfe8a47fe830d7 (diff)
downloadFreeBSD-src-2845a5b5418b09c0de782a2383788f97a9683a35.zip
FreeBSD-src-2845a5b5418b09c0de782a2383788f97a9683a35.tar.gz
Turn malloc options "AJ" on by default.
These will be turned off again as we approach 5.0-RELEASE. If you benchmark things, make sure to ln -sf j /etc/malloc.conf to see "true" performance.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdlib/malloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdlib/malloc.c b/lib/libc/stdlib/malloc.c
index 4121718..3b631e8 100644
--- a/lib/libc/stdlib/malloc.c
+++ b/lib/libc/stdlib/malloc.c
@@ -205,7 +205,7 @@ static unsigned malloc_ninfo;
static struct pgfree free_list;
/* Abort(), user doesn't handle problems. */
-static int malloc_abort;
+static int malloc_abort = 1;
/* Are we trying to die ? */
static int suicide;
@@ -226,7 +226,7 @@ static int malloc_sysv;
static int malloc_zero;
/* junk fill ? */
-static int malloc_junk;
+static int malloc_junk = 1;
#ifdef HAS_UTRACE
OpenPOWER on IntegriCloud