Commit 49fdc532 authored by erikcorry's avatar erikcorry Committed by Commit bot

Be sure to abort incremental GC when trying to reserve space

R=hpayer@chromium.org
BUG=

Review URL: https://codereview.chromium.org/1124553007

Cr-Commit-Position: refs/heads/master@{#28233}
parent 9d0d7ec7
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment