diff options
-rw-r--r-- | third_party/tcmalloc/chromium/src/heap-checker.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/third_party/tcmalloc/chromium/src/heap-checker.cc b/third_party/tcmalloc/chromium/src/heap-checker.cc index ae69c7b..1400c8e 100644 --- a/third_party/tcmalloc/chromium/src/heap-checker.cc +++ b/third_party/tcmalloc/chromium/src/heap-checker.cc @@ -2209,7 +2209,8 @@ void HeapLeakChecker::BeforeConstructorsLocked() { Allocator::Init(); RAW_CHECK(heap_profile == NULL, ""); heap_profile = new(Allocator::Allocate(sizeof(HeapProfileTable))) - HeapProfileTable(&Allocator::Allocate, &Allocator::Free); + HeapProfileTable(&Allocator::Allocate, &Allocator::Free, + /* profile_mmap */ false); RAW_VLOG(10, "Starting tracking the heap"); heap_checker_on = true; } |