| Index: third_party/WebKit/Source/wtf/allocator/PartitionAlloc.cpp
|
| diff --git a/third_party/WebKit/Source/wtf/allocator/PartitionAlloc.cpp b/third_party/WebKit/Source/wtf/allocator/PartitionAlloc.cpp
|
| index 11cf0ebac1c808546553bd8768f1e48d1ec962e6..ffd84069396e9947b61599846b82d80924034681 100644
|
| --- a/third_party/WebKit/Source/wtf/allocator/PartitionAlloc.cpp
|
| +++ b/third_party/WebKit/Source/wtf/allocator/PartitionAlloc.cpp
|
| @@ -1360,17 +1360,20 @@ void partitionDumpStatsGeneric(PartitionRootGeneric* partition, const char* part
|
|
|
| size_t directMappedAllocationsTotalSize = 0;
|
| for (size_t i = 0; i < numDirectMappedAllocations; ++i) {
|
| + uint32_t size = directMapLengths[i];
|
| + directMappedAllocationsTotalSize += size;
|
| + if (isLightDump)
|
| + continue;
|
| +
|
| PartitionBucketMemoryStats stats;
|
| memset(&stats, '\0', sizeof(stats));
|
| stats.isValid = true;
|
| stats.isDirectMap = true;
|
| stats.numFullPages = 1;
|
| - uint32_t size = directMapLengths[i];
|
| stats.allocatedPageSize = size;
|
| stats.bucketSlotSize = size;
|
| stats.activeBytes = size;
|
| stats.residentBytes = size;
|
| - directMappedAllocationsTotalSize += size;
|
| partitionStatsDumper->partitionsDumpBucketStats(partitionName, &stats);
|
| }
|
| partitionStats.totalResidentBytes += directMappedAllocationsTotalSize;
|
|
|