Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: third_party/tcmalloc/chromium/src/static_vars.cc

Issue 7833003: code for encrypting sensitive tcmalloc metadata (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: fixed bug of key_ existing as multiple copies Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/tcmalloc/chromium/src/static_vars.cc
diff --git a/third_party/tcmalloc/chromium/src/static_vars.cc b/third_party/tcmalloc/chromium/src/static_vars.cc
index 2ca132e46eab49da5e2c91fa2544d282ad260a0c..5ba44343453296610ab97f305b8851d5a4660df4 100644
--- a/third_party/tcmalloc/chromium/src/static_vars.cc
+++ b/third_party/tcmalloc/chromium/src/static_vars.cc
@@ -34,6 +34,7 @@
#include <stddef.h> // for NULL
#include <new> // for operator new
#include "internal_logging.h" // for CHECK_CONDITION
+#include "metadata_encode.h"
#include "sampler.h" // for Sampler
namespace tcmalloc {
@@ -49,6 +50,7 @@ StackTrace* Static::growth_stacks_ = NULL;
char Static::pageheap_memory_[sizeof(PageHeap)];
void Static::InitStaticVars() {
+ InitMetadataEncoder();
sizemap_.Init();
span_allocator_.Init();
span_allocator_.New(); // Reduce cache conflicts
« no previous file with comments | « third_party/tcmalloc/chromium/src/metadata_encode_posix.cc ('k') | third_party/tcmalloc/chromium/src/tcmalloc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698