Chromium Code Reviews| Index: src/mark-compact.h |
| diff --git a/src/mark-compact.h b/src/mark-compact.h |
| index 469dd29f199c55a284aa108256458a314adb1bfa..86850369a906029c2075c000df787009f72013ae 100644 |
| --- a/src/mark-compact.h |
| +++ b/src/mark-compact.h |
| @@ -216,6 +216,7 @@ class MarkingDeque { |
| ASSERT(object->IsHeapObject()); |
| if (IsFull()) { |
| Marking::BlackToGrey(object); |
| + MemoryChunk::IncrementLiveBytes(object->address(), -object->Size()); |
| SetOverflowed(); |
| } else { |
| array_[top_] = object; |