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

Unified Diff: Source/wtf/Partitions.cpp

Issue 1315113006: Add partitionsOutOfMemoryUsingXXX to know Blink memory usage from OOM crash reports (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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: Source/wtf/Partitions.cpp
diff --git a/Source/wtf/Partitions.cpp b/Source/wtf/Partitions.cpp
index 1e996bc045488a6ebb09f4e6c1c97630cb18f50c..8486eda61e190c3d8db906ce29cb9dca9166ef76 100644
--- a/Source/wtf/Partitions.cpp
+++ b/Source/wtf/Partitions.cpp
@@ -51,6 +51,7 @@ void Partitions::initialize()
spinLockLock(&s_initializationLock);
if (!s_initialized) {
+ partitionAllocGlobalInit(&Partitions::totalSizeOfCommittedPages);
m_fastMallocAllocator.init();
m_bufferAllocator.init();
m_nodeAllocator.init();

Powered by Google App Engine
This is Rietveld 408576698