Index: src/heap/incremental-marking.cc |
diff --git a/src/heap/incremental-marking.cc b/src/heap/incremental-marking.cc |
index 5aa464f34eee9e7916e0b637687ccd483af6ff0f..13e15e88f947a3165c26905aa0630bcd9e727cc3 100644 |
--- a/src/heap/incremental-marking.cc |
+++ b/src/heap/incremental-marking.cc |
@@ -624,7 +624,6 @@ void IncrementalMarking::StartMarking() { |
void IncrementalMarking::MarkRoots() { |
- DCHECK(FLAG_finalize_marking_incrementally); |
DCHECK(!finalize_marking_completed_); |
DCHECK(IsMarking()); |
@@ -634,7 +633,6 @@ void IncrementalMarking::MarkRoots() { |
void IncrementalMarking::MarkObjectGroups() { |
- DCHECK(FLAG_finalize_marking_incrementally); |
DCHECK(!finalize_marking_completed_); |
DCHECK(IsMarking()); |
@@ -648,7 +646,6 @@ void IncrementalMarking::MarkObjectGroups() { |
void IncrementalMarking::ProcessWeakCells() { |
- DCHECK(FLAG_finalize_marking_incrementally); |
DCHECK(!finalize_marking_completed_); |
DCHECK(IsMarking()); |
@@ -686,7 +683,6 @@ void IncrementalMarking::ProcessWeakCells() { |
void IncrementalMarking::FinalizeIncrementally() { |
- DCHECK(FLAG_finalize_marking_incrementally); |
DCHECK(!finalize_marking_completed_); |
DCHECK(IsMarking()); |
@@ -927,7 +923,6 @@ void IncrementalMarking::Finalize() { |
void IncrementalMarking::FinalizeMarking(CompletionAction action) { |
- DCHECK(FLAG_finalize_marking_incrementally); |
DCHECK(!finalize_marking_completed_); |
if (FLAG_trace_incremental_marking) { |
PrintF( |
@@ -1140,8 +1135,7 @@ intptr_t IncrementalMarking::Step(intptr_t allocated_bytes, |
if (heap_->mark_compact_collector()->marking_deque()->IsEmpty()) { |
if (completion == FORCE_COMPLETION || |
IsIdleMarkingDelayCounterLimitReached()) { |
- if (FLAG_finalize_marking_incrementally && |
- !finalize_marking_completed_) { |
+ if (!finalize_marking_completed_) { |
FinalizeMarking(action); |
} else { |
MarkingComplete(action); |