Index: src/heap/mark-compact-inl.h |
diff --git a/src/heap/mark-compact-inl.h b/src/heap/mark-compact-inl.h |
index 784a76f8bd30b391ff26e163ef8a6736d1b9b401..454974f4e76f4adb14efb3473fe3c013449196e6 100644 |
--- a/src/heap/mark-compact-inl.h |
+++ b/src/heap/mark-compact-inl.h |
@@ -15,7 +15,7 @@ namespace internal { |
void MarkCompactCollector::PushBlack(HeapObject* obj) { |
DCHECK(Marking::IsBlack(ObjectMarking::MarkBitFrom(obj))); |
if (marking_deque()->Push(obj)) { |
- MemoryChunk::IncrementLiveBytesFromGC(obj, obj->Size()); |
+ MemoryChunk::IncrementLiveBytes(obj, obj->Size()); |
} else { |
MarkBit mark_bit = ObjectMarking::MarkBitFrom(obj); |
Marking::BlackToGrey(mark_bit); |
@@ -26,7 +26,7 @@ void MarkCompactCollector::PushBlack(HeapObject* obj) { |
void MarkCompactCollector::UnshiftBlack(HeapObject* obj) { |
DCHECK(Marking::IsBlack(ObjectMarking::MarkBitFrom(obj))); |
if (!marking_deque()->Unshift(obj)) { |
- MemoryChunk::IncrementLiveBytesFromGC(obj, -obj->Size()); |
+ MemoryChunk::IncrementLiveBytes(obj, -obj->Size()); |
MarkBit mark_bit = ObjectMarking::MarkBitFrom(obj); |
Marking::BlackToGrey(mark_bit); |
} |
@@ -47,7 +47,7 @@ void MarkCompactCollector::SetMark(HeapObject* obj, MarkBit mark_bit) { |
DCHECK(Marking::IsWhite(mark_bit)); |
DCHECK(ObjectMarking::MarkBitFrom(obj) == mark_bit); |
Marking::WhiteToBlack(mark_bit); |
- MemoryChunk::IncrementLiveBytesFromGC(obj, obj->Size()); |
+ MemoryChunk::IncrementLiveBytes(obj, obj->Size()); |
} |