Chromium Code Reviews| Index: src/heap/incremental-marking.cc |
| diff --git a/src/heap/incremental-marking.cc b/src/heap/incremental-marking.cc |
| index 5294d1d9c9d1df445b668d0ec3232fe90d628d94..e6f62943612b9e78c6c18d6440cfec853002b96a 100644 |
| --- a/src/heap/incremental-marking.cc |
| +++ b/src/heap/incremental-marking.cc |
| @@ -186,12 +186,6 @@ class IncrementalMarkingMarkingVisitor |
| static void VisitFixedArrayIncremental(Map* map, HeapObject* object) { |
| MemoryChunk* chunk = MemoryChunk::FromAddress(object->address()); |
| - // TODO(mstarzinger): Move setting of the flag to the allocation site of |
| - // the array. The visitor should just check the flag. |
| - if (FLAG_use_marking_progress_bar && |
|
Hannes Payer (out of office)
2016/09/30 10:32:41
Let's make that a DCHECK.
Michael Lippautz
2016/09/30 10:36:14
Done.
|
| - chunk->owner()->identity() == LO_SPACE) { |
| - chunk->SetFlag(MemoryChunk::HAS_PROGRESS_BAR); |
| - } |
| if (chunk->IsFlagSet(MemoryChunk::HAS_PROGRESS_BAR)) { |
| Heap* heap = map->GetHeap(); |
| // When using a progress bar for large fixed arrays, scan only a chunk of |