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

Unified Diff: src/heap/heap.cc

Issue 1124553007: Be sure to abort incremental GC when trying to reserve space (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/heap.cc
diff --git a/src/heap/heap.cc b/src/heap/heap.cc
index a1e2e1671e42c0e7072e05fa194688400a41e296..e5095c8336c9f7d75eb476af501ec55ecbf668d4 100644
--- a/src/heap/heap.cc
+++ b/src/heap/heap.cc
@@ -1027,7 +1027,7 @@ bool Heap::ReserveSpace(Reservation* reservations) {
} else {
if (counter > 1) {
CollectAllGarbage(
- kReduceMemoryFootprintMask,
+ kReduceMemoryFootprintMask | kAbortIncrementalMarkingMask,
"failed to reserve space in paged or large "
"object space, trying to reduce memory footprint");
} else {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698