Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/jemalloc/lib Disable JEMALLOC_DEBUG, it served ...
details: https://anonhg.NetBSD.org/src/rev/8caad5972cc6
branches: trunk
changeset: 462006:8caad5972cc6
user: martin <martin%NetBSD.org@localhost>
date: Tue Jul 23 06:31:20 2019 +0000
description:
Disable JEMALLOC_DEBUG, it served us well, but now we want performance
back. Discussed with christos.
diffstat:
external/bsd/jemalloc/lib/Makefile.inc | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 2d7992288f51 -r 8caad5972cc6 external/bsd/jemalloc/lib/Makefile.inc
--- a/external/bsd/jemalloc/lib/Makefile.inc Tue Jul 23 04:50:05 2019 +0000
+++ b/external/bsd/jemalloc/lib/Makefile.inc Tue Jul 23 06:31:20 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.9 2019/04/15 20:40:53 christos Exp $
+# $NetBSD: Makefile.inc,v 1.10 2019/07/23 06:31:20 martin Exp $
JEMALLOC:=${.PARSEDIR}/..
@@ -38,7 +38,10 @@
.SUFFIXES: .3
.PATH.3: ${JEMALLOC}/dist/doc
.for i in ${JEMALLOC_SRCS}
-CPPFLAGS.${i}+=-I${JEMALLOC}/include -DJEMALLOC_PROTECT_NOSTD -DJEMALLOC_DEBUG
+# helps in tracking bad malloc/pointer usage, but has a serious
+# performance penalty:
+# CPPFLAGS.${i}+=-I${JEMALLOC}/include -DJEMALLOC_PROTECT_NOSTD -DJEMALLOC_DEBUG
+CPPFLAGS.${i}+=-I${JEMALLOC}/include -DJEMALLOC_PROTECT_NOSTD
COPTS.${i}+= -fvisibility=hidden -funroll-loops
COPTS.${i}+= ${${ACTIVE_CC} == "clang":? -Wno-atomic-alignment :}
.endfor
Home |
Main Index |
Thread Index |
Old Index