Index: src/heap/incremental-marking.cc |
diff --git a/src/heap/incremental-marking.cc b/src/heap/incremental-marking.cc |
index a4c35c993a8f17ba6655126764feeaab7ce1f1d1..95f522bd991fe83fadb9baa8445fd7768b736f6f 100644 |
--- a/src/heap/incremental-marking.cc |
+++ b/src/heap/incremental-marking.cc |
@@ -467,7 +467,7 @@ |
} |
-void IncrementalMarking::Start(int mark_compact_flags) { |
+void IncrementalMarking::Start() { |
if (FLAG_trace_incremental_marking) { |
PrintF("[IncrementalMarking] Start\n"); |
} |
@@ -482,9 +482,7 @@ |
was_activated_ = true; |
if (!heap_->mark_compact_collector()->sweeping_in_progress()) { |
- heap_->mark_compact_collector()->SetFlags(mark_compact_flags); |
StartMarking(); |
- heap_->mark_compact_collector()->SetFlags(Heap::kNoGCFlags); |
} else { |
if (FLAG_trace_incremental_marking) { |
PrintF("[IncrementalMarking] Start sweeping.\n"); |
@@ -833,7 +831,7 @@ |
void IncrementalMarking::OldSpaceStep(intptr_t allocated) { |
if (IsStopped() && ShouldActivateEvenWithoutIdleNotification()) { |
- Start(Heap::kNoGCFlags); |
+ Start(); |
} else { |
Step(allocated * kFastMarking / kInitialMarkingSpeed, GC_VIA_STACK_GUARD); |
} |