[heap] Schedule idle embedder garbage collection when starting incremental marking from idle task.

BUG=chromium:728228

Review-Url: https://codereview.chromium.org/2930333002
Cr-Commit-Position: refs/heads/master@{#45875}
This commit is contained in:
hpayer 2017-06-12 10:05:33 -07:00 committed by Commit Bot
parent 6713a76b06
commit 0aa78b9e5b

View File

@ -55,7 +55,7 @@ void IncrementalMarkingJob::Task::RunInternal() {
Heap::IncrementalMarkingLimit::kNoLimit) {
heap->StartIncrementalMarking(Heap::kNoGCFlags,
GarbageCollectionReason::kIdleTask,
kNoGCCallbackFlags);
kGCCallbackScheduleIdleGarbageCollection);
}
}
if (!incremental_marking->IsStopped()) {