summaryrefslogtreecommitdiff
path: root/src/mongo/util/heap_profiler.cpp
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2018-06-06 14:45:29 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2018-06-07 14:19:22 -0400
commit6e82b67a67edf2ca22d7bfa1c2061e56d7c94dea (patch)
treeb5be082c57a7a0e87ac313a7a1c421c06e657175 /src/mongo/util/heap_profiler.cpp
parent20941042dbabb40557ddf61c73f38cdc7e67abec (diff)
downloadmongo-6e82b67a67edf2ca22d7bfa1c2061e56d7c94dea.tar.gz
SERVER-35444 Heap stacks should not be included in serverStatus with heapProfilingEnabled
Diffstat (limited to 'src/mongo/util/heap_profiler.cpp')
-rw-r--r--src/mongo/util/heap_profiler.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/util/heap_profiler.cpp b/src/mongo/util/heap_profiler.cpp
index de2024ce2db..7f42a8a1c9c 100644
--- a/src/mongo/util/heap_profiler.cpp
+++ b/src/mongo/util/heap_profiler.cpp
@@ -587,7 +587,6 @@ private:
shortName << "stack" << stackInfo->stackNum;
BSONObjBuilder stackBuilder(stacksBuilder.subobjStart(shortName.str()));
stackBuilder.appendNumber("activeBytes", stackInfo->activeBytes);
- stackBuilder.append("stack", stackInfo->stackObj);
}
stacksBuilder.doneFast();