| Index: src/heap/mark-compact.cc
|
| diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc
|
| index 1992c23925a061d7d334d12dc69b43dbc25b162e..8edb3386d8b0e56436d0af52bfb7d595858162f4 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()) {
|
|
|