Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(407)

Unified Diff: src/heap/scavenger.cc

Issue 1409023004: [heap] Report proper OOM failure if semi-space copy fails. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/heap/mark-compact.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/scavenger.cc
diff --git a/src/heap/scavenger.cc b/src/heap/scavenger.cc
index 3e9f67b896ee614ce5163dfa2be995b2de557a31..31f1ee55b73dcdbc57007881dfa63d951669c4c7 100644
--- a/src/heap/scavenger.cc
+++ b/src/heap/scavenger.cc
@@ -236,7 +236,7 @@ class ScavengingVisitor : public StaticVisitorBase {
// If promotion failed, we try to copy the object to the other semi-space
if (SemiSpaceCopyObject<alignment>(map, slot, object, object_size)) return;
- UNREACHABLE();
+ FatalProcessOutOfMemory("Scavenger: semi-space copy\n");
}
« no previous file with comments | « src/heap/mark-compact.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698