| Index: src/heap/incremental-marking.cc
|
| diff --git a/src/heap/incremental-marking.cc b/src/heap/incremental-marking.cc
|
| index 3ad3c1581e1b44bb57529b06b18b69145d97005d..c6e81c67eb6109d55192de87364081efbbdda70b 100644
|
| --- a/src/heap/incremental-marking.cc
|
| +++ b/src/heap/incremental-marking.cc
|
| @@ -1137,12 +1137,11 @@
|
| const bool incremental_wrapper_tracing =
|
| FLAG_incremental_marking_wrappers &&
|
| heap_->local_embedder_heap_tracer()->InUse();
|
| - const bool v8_marking_deque_empty =
|
| - heap_->mark_compact_collector()->marking_deque()->IsEmpty();
|
| - const bool process_wrappers = incremental_wrapper_tracing &&
|
| - (heap_->local_embedder_heap_tracer()
|
| - ->RequiresImmediateWrapperProcessing() ||
|
| - v8_marking_deque_empty);
|
| + const bool process_wrappers =
|
| + incremental_wrapper_tracing &&
|
| + (heap_->local_embedder_heap_tracer()
|
| + ->RequiresImmediateWrapperProcessing() ||
|
| + heap_->mark_compact_collector()->marking_deque()->IsEmpty());
|
| bool wrapper_work_left = incremental_wrapper_tracing;
|
| if (!process_wrappers) {
|
| bytes_processed = ProcessMarkingDeque(bytes_to_process);
|
| @@ -1154,8 +1153,6 @@
|
| heap_->MonotonicallyIncreasingTimeInMs() + kStepSizeInMs;
|
| TRACE_GC(heap()->tracer(),
|
| GCTracer::Scope::MC_INCREMENTAL_WRAPPER_TRACING);
|
| - if (v8_marking_deque_empty)
|
| - heap_->local_embedder_heap_tracer()->NotifyV8MarkingDequeWasEmpty();
|
| wrapper_work_left = heap_->local_embedder_heap_tracer()->Trace(
|
| wrapper_deadline, EmbedderHeapTracer::AdvanceTracingActions(
|
| EmbedderHeapTracer::ForceCompletionAction::
|
|
|