Commit 04eed294 authored by Michael Lippautz's avatar Michael Lippautz Committed by Commit Bot

heap: Fix scheduling tasks when delaying marking

Delaying marking requires tasks to be scheduled.

Bug: chromium:1054398
Change-Id: Ib92a0f5541f0e37cbbabfb3dd8185b56680d0142
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2066977Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#66376}
parent 4b0916a2
......@@ -823,9 +823,8 @@ void IncrementalMarking::MarkingComplete(CompletionAction action) {
"allowed overshoot: %fms\n",
time_to_marking_task, overshoot_ms);
}
// Assuming kAllowedOvershoot > 0.
DCHECK(incremental_marking_job_.IsTaskPending(
IncrementalMarkingJob::TaskType::kNormal));
incremental_marking_job_.ScheduleTask(
heap(), IncrementalMarkingJob::TaskType::kNormal);
return;
}
}
......
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