| Index: src/heap/heap-inl.h
|
| diff --git a/src/heap/heap-inl.h b/src/heap/heap-inl.h
|
| index a12c6d031c389310a6be506245cb929b4efec413..25400dd261c704b02a7decb25f8a56990fdb1592 100644
|
| --- a/src/heap/heap-inl.h
|
| +++ b/src/heap/heap-inl.h
|
| @@ -252,6 +252,11 @@
|
| old_gen_exhausted_ = true;
|
| }
|
|
|
| + if (!old_gen_exhausted_ && incremental_marking()->black_allocation() &&
|
| + space != OLD_SPACE) {
|
| + Marking::MarkBlack(ObjectMarking::MarkBitFrom(object));
|
| + MemoryChunk::IncrementLiveBytesFromGC(object, size_in_bytes);
|
| + }
|
| return allocation;
|
| }
|
|
|
|
|