| Index: Source/platform/heap/Heap.cpp
|
| diff --git a/Source/platform/heap/Heap.cpp b/Source/platform/heap/Heap.cpp
|
| index c1dd9d315b3617088f4cc2d3e1f6b4d9a63d656c..0518d9989f9f59d5a5a7a6d303d48f4b717891cd 100644
|
| --- a/Source/platform/heap/Heap.cpp
|
| +++ b/Source/platform/heap/Heap.cpp
|
| @@ -1709,10 +1709,10 @@ void LargeObjectPage::takeSnapshot(String dumpName, size_t pageIndex)
|
| HeapObjectHeader* header = heapObjectHeader();
|
| if (header->isMarked()) {
|
| liveCount = 1;
|
| - liveSize += header->size();
|
| + liveSize += header->payloadSize();
|
| } else {
|
| deadCount = 1;
|
| - deadSize += header->size();
|
| + deadSize += header->payloadSize();
|
| }
|
|
|
| pageDump->AddScalar("live_count", "objects", liveCount);
|
|
|