Index: src/heap/incremental-marking.cc |
diff --git a/src/heap/incremental-marking.cc b/src/heap/incremental-marking.cc |
index 544ee7458baf075324f7f5220506171bfc44289f..305373f05651dbbec29d8dd8a1983a8174e85c1d 100644 |
--- a/src/heap/incremental-marking.cc |
+++ b/src/heap/incremental-marking.cc |
@@ -297,12 +297,6 @@ void IncrementalMarking::SetOldSpacePageFlags(MemoryChunk* chunk, |
if (is_marking) { |
chunk->SetFlag(MemoryChunk::POINTERS_TO_HERE_ARE_INTERESTING); |
chunk->SetFlag(MemoryChunk::POINTERS_FROM_HERE_ARE_INTERESTING); |
- |
- // It's difficult to filter out slots recorded for large objects. |
- if (chunk->owner()->identity() == LO_SPACE && |
- chunk->size() > static_cast<size_t>(Page::kPageSize) && is_compacting) { |
- chunk->SetFlag(MemoryChunk::RESCAN_ON_EVACUATION); |
- } |
} else { |
chunk->ClearFlag(MemoryChunk::POINTERS_TO_HERE_ARE_INTERESTING); |
chunk->SetFlag(MemoryChunk::POINTERS_FROM_HERE_ARE_INTERESTING); |