Commit 76da3d83 authored by Bartek Nowierski's avatar Bartek Nowierski Committed by Commit Bot

[PartitionAlloc] Update memory dump names after SlotSpanMetadata transition

Continuation of crrev.com/c/2466007

Change-Id: I6efbfb1113bcf8ffd0d31fe510ee229bc9133893
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2482226
Auto-Submit: Bartek Nowierski <bartekn@chromium.org>
Commit-Queue: Kentaro Hara <haraken@chromium.org>
Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#818344}
parent 0bb73502
...@@ -135,15 +135,15 @@ void PartitionStatsDumperImpl::PartitionsDumpBucketStats( ...@@ -135,15 +135,15 @@ void PartitionStatsDumperImpl::PartitionsDumpBucketStats(
allocator_dump->AddScalar("discardable_size", "bytes", allocator_dump->AddScalar("discardable_size", "bytes",
memory_stats->discardable_bytes); memory_stats->discardable_bytes);
// TODO(bartekn): Rename the scalar names. // TODO(bartekn): Rename the scalar names.
allocator_dump->AddScalar("total_pages_size", "bytes", allocator_dump->AddScalar("total_slot_span_size", "bytes",
memory_stats->allocated_slot_span_size); memory_stats->allocated_slot_span_size);
allocator_dump->AddScalar("active_pages", "objects", allocator_dump->AddScalar("active_slot_spans", "objects",
memory_stats->num_active_slot_spans); memory_stats->num_active_slot_spans);
allocator_dump->AddScalar("full_pages", "objects", allocator_dump->AddScalar("full_slot_spans", "objects",
memory_stats->num_full_slot_spans); memory_stats->num_full_slot_spans);
allocator_dump->AddScalar("empty_pages", "objects", allocator_dump->AddScalar("empty_slot_spans", "objects",
memory_stats->num_empty_slot_spans); memory_stats->num_empty_slot_spans);
allocator_dump->AddScalar("decommitted_pages", "objects", allocator_dump->AddScalar("decommitted_slot_spans", "objects",
memory_stats->num_decommitted_slot_spans); memory_stats->num_decommitted_slot_spans);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment