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

Unified Diff: Source/platform/PartitionAllocMemoryDumpProvider.cpp

Issue 1190173003: PartitionAlloc: API changes to support new partitionPurgeMemoryGeneric() mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Review feedback. Created 5 years, 6 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
« no previous file with comments | « no previous file | Source/wtf/PartitionAlloc.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/PartitionAllocMemoryDumpProvider.cpp
diff --git a/Source/platform/PartitionAllocMemoryDumpProvider.cpp b/Source/platform/PartitionAllocMemoryDumpProvider.cpp
index b85390454c8e74c2ff9f4c5a113ff61b436aa651..fcd4eb8d5afbcab08df0a8c4fa1ed3c1e6bd14b5 100644
--- a/Source/platform/PartitionAllocMemoryDumpProvider.cpp
+++ b/Source/platform/PartitionAllocMemoryDumpProvider.cpp
@@ -45,7 +45,8 @@ void PartitionStatsDumperImpl::partitionsDumpBucketStats(const char* partitionNa
allocatorDump->AddScalar("slot_size", "bytes", memoryStats->bucketSlotSize);
allocatorDump->AddScalar("active_size", "bytes", memoryStats->activeBytes);
allocatorDump->AddScalar("resident_size", "bytes", memoryStats->residentBytes);
- allocatorDump->AddScalar("freeable_size", "bytes", memoryStats->freeableBytes);
+ allocatorDump->AddScalar("decommittable_size", "bytes", memoryStats->decommittableBytes);
+ allocatorDump->AddScalar("discardable_size", "bytes", memoryStats->discardableBytes);
allocatorDump->AddScalar("num_active", "objects", memoryStats->numActivePages);
allocatorDump->AddScalar("num_full", "objects", memoryStats->numFullPages);
allocatorDump->AddScalar("num_empty", "objects", memoryStats->numEmptyPages);
« no previous file with comments | « no previous file | Source/wtf/PartitionAlloc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698