summaryrefslogtreecommitdiff
path: root/src/mongo/util/tcmalloc_parameters.idl
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2020-02-05 22:43:22 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-02-14 16:58:34 +0000
commitc1e1c591e67a6be9ef1128de5c45229e91d94bd9 (patch)
treeab78eba5d8c1400af5663185f180b6f4cc58ffc7 /src/mongo/util/tcmalloc_parameters.idl
parent1c69f63fe4597062055041a4f1b4e54d11dea34e (diff)
downloadmongo-c1e1c591e67a6be9ef1128de5c45229e91d94bd9.tar.gz
SERVER-45677 libunwind on by default where possible
- tcmalloc to not use libunwind API, as it uses slow cursor steps. - Remove UNW_LOCAL_ONLY from CXXFLAGS everywhere.
Diffstat (limited to 'src/mongo/util/tcmalloc_parameters.idl')
-rw-r--r--src/mongo/util/tcmalloc_parameters.idl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/util/tcmalloc_parameters.idl b/src/mongo/util/tcmalloc_parameters.idl
index 15993865720..70586cda5e3 100644
--- a/src/mongo/util/tcmalloc_parameters.idl
+++ b/src/mongo/util/tcmalloc_parameters.idl
@@ -54,7 +54,7 @@ server_parameters:
cpp_varname: HeapProfilingEnabled
default: false
condition:
- preprocessor: defined(_POSIX_VERSION) && (defined(MONGO_CONFIG_HAVE_EXECINFO_BACKTRACE) || defined(MONGO_USE_LIBUNWIND))
+ preprocessor: defined(_POSIX_VERSION) && (defined(MONGO_CONFIG_HAVE_EXECINFO_BACKTRACE) || defined(MONGO_CONFIG_USE_LIBUNWIND))
heapProfilingSampleIntervalBytes:
description: "Configure heap profiling sample interval bytes"
@@ -64,7 +64,7 @@ server_parameters:
# 256kb
default: 262144
condition:
- preprocessor: defined(_POSIX_VERSION) && (defined(MONGO_CONFIG_HAVE_EXECINFO_BACKTRACE) || defined(MONGO_USE_LIBUNWIND))
+ preprocessor: defined(_POSIX_VERSION) && (defined(MONGO_CONFIG_HAVE_EXECINFO_BACKTRACE) || defined(MONGO_CONFIG_USE_LIBUNWIND))
tcmallocEnableMarkThreadTemporarilyIdle:
description: 'REMOVED: Setting this parameter has no effect and it will be removed in a future version of MongoDB.'