aboutsummaryrefslogtreecommitdiffstats
path: root/vespabase
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-12-12 13:38:50 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2017-12-12 13:38:50 +0000
commit9a48eb2904f54ff7adeb776116657ed85022884d (patch)
treec82753aed3d35d3610c6e73e98baaf05d5f3b45f /vespabase
parent245823f083f130ffbc9847ab79df9974b023d7c2 (diff)
Enable glibc lock elision.
See https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.4_release_notes/new_features_compiler_and_tools
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 76f5d69b3a4..4b43465c75c 100755
--- a/vespabase/src/common-env.sh
+++ b/vespabase/src/common-env.sh
@@ -112,6 +112,8 @@ populate_environment
PATH=$VESPA_HOME/bin64:$VESPA_HOME/bin:/usr/local/bin:/usr/X11R6/bin:/sbin:/bin:/usr/sbin:/usr/bin
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
# how to find the "java" program?
# should be available in $VESPA_HOME/bin or JAVA_HOME