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

Unified Diff: third_party/tcmalloc/chromium/src/heap-profile-table.h

Issue 9963095: Reserve a dedicated arena for every construction of mmap_address_map. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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/heap-profile-table.h
diff --git a/third_party/tcmalloc/chromium/src/heap-profile-table.h b/third_party/tcmalloc/chromium/src/heap-profile-table.h
index 447943dc7355315174d59a42e78a1e8f6b5a008a..27ebd6de1fee932756cbe8fef7eff264e1cbfead 100644
--- a/third_party/tcmalloc/chromium/src/heap-profile-table.h
+++ b/third_party/tcmalloc/chromium/src/heap-profile-table.h
@@ -190,12 +190,12 @@ class HeapProfileTable {
// Refresh the internal mmap information from MemoryRegionMap. Results of
// FillOrderedProfile and IterateOrderedAllocContexts will contain mmap'ed
// memory regions as at calling RefreshMMapData.
- void RefreshMMapData();
+ void RefreshMMapData(Allocator mmap_alloc, DeAllocator mmap_dealloc);
// Clear the internal mmap information. Results of FillOrderedProfile and
// IterateOrderedAllocContexts won't contain mmap'ed memory regions after
// calling ClearMMapData.
- void ClearMMapData();
+ void ClearMMapData(DeAllocator mmap_dealloc);
private:
friend class DeepHeapProfile;

Powered by Google App Engine
This is Rietveld 408576698