| Index: src/heap/mark-compact.cc
|
| diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc
|
| index a9ea707a9bff90a5fe4e56c9ca3f24a889a87a45..c48c6f2b6a098f21b1a347a0b4c4303678ee8a5f 100644
|
| --- a/src/heap/mark-compact.cc
|
| +++ b/src/heap/mark-compact.cc
|
| @@ -1864,6 +1864,7 @@ int MarkCompactCollector::DiscoverAndEvacuateBlackObjectsOnPage(
|
| TryPromoteObject(object, size)) {
|
| continue;
|
| }
|
| + heap()->set_promotion_failure(true);
|
|
|
| AllocationResult allocation = new_space->AllocateRaw(size);
|
| if (allocation.IsRetry()) {
|
|
|