aboutsummaryrefslogtreecommitdiffstats
path: root/vespabase
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2020-04-18 17:25:31 +0200
committerGitHub <noreply@github.com>2020-04-18 17:25:31 +0200
commit502b3c410ba782d72cfa0ccea4638b84b56f6aa1 (patch)
tree4465c9750b963a2ff79031d369085520378e5dc8 /vespabase
parentc3e627064034072cf84a066b931ff7cb6b8d77a2 (diff)
parent9a48eb2904f54ff7adeb776116657ed85022884d (diff)
Merge pull request #4422 from vespa-engine/balder/enable-glibc-lock-elision
Enable glibc lock elision.
Diffstat (limited to 'vespabase')
-rwxr-xr-xvespabase/src/common-env.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/vespabase/src/common-env.sh b/vespabase/src/common-env.sh
index ad77965fef6..793fa6782f6 100755
--- a/vespabase/src/common-env.sh
+++ b/vespabase/src/common-env.sh
@@ -125,6 +125,8 @@ populate_environment
export LD_LIBRARY_PATH=$VESPA_HOME/lib64
export MALLOC_ARENA_MAX=1
+export GLIBC_TUNABLES=glibc.elision.enable=1
+export RHEL_GLIBC_TUNABLES=glibc.elision.enable=1
# Maven is needed for tester applications
prepend_path "$VESPA_HOME/local/maven/bin"