From 5dea3221bd62e5ddd0649b91826853718431a9d3 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 26 Nov 2013 11:01:16 +0100 Subject: add support for jemalloc (experimental) --- configure.ac | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/configure.ac b/configure.ac index 8f74ebc7..7417c571 100644 --- a/configure.ac +++ b/configure.ac @@ -379,6 +379,22 @@ if test "$enable_inet" = "yes"; then AC_DEFINE(SYSLOG_INET, 1, [network support is integrated.]) fi +# jemalloc +AC_ARG_ENABLE(jemalloc, + [AS_HELP_STRING([--enable-jemalloc],[Enable jemalloc support @<:@default=no@:>@])], + [case "${enableval}" in + yes) enable_jemalloc="yes" ;; + no) enable_jemalloc="no" ;; + *) AC_MSG_ERROR(bad value ${enableval} for --enable-jemalloc) ;; + esac], + [enable_jemalloc="no"] +) +AM_CONDITIONAL(ENABLE_JEMALLOC, test x$enable_jemalloc = xyes) +if test "$enable_jemalloc" = "yes"; then + AC_DEFINE(HAVE_JEMALLOC, 1, [jemalloc support is integrated.]) + RT_LIBS="$RT_LIBS -ljemalloc" +fi + # # The following define determines whether the package adheres to the -- cgit v1.2.3 From 4c5c1e3b5297f7f4d3359ce7be355751b2823313 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 26 Nov 2013 12:13:18 +0100 Subject: doc: maintain ChangeLog --- ChangeLog | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ChangeLog b/ChangeLog index bdeda7de..13fcfeff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,8 @@ Version 8.1.2 [devel] 2013-11-?? * queue.workerThreadMinimumMessage set to queue.size / num workers For queues with very low queue.maxSize (< 100), "emergency" defaults will be used. +- support for jemalloc added via --enable-jemalloc + Note that build system is experiemental at this stage. - bugfix: disk queues created files in wrong working directory if the $WorkDirectory was changed multiple times, all queues only used the last value set. -- cgit v1.2.3