Index: src/mark-compact.cc |
diff --git a/src/mark-compact.cc b/src/mark-compact.cc |
index 9192c5882036c3a2fe3eed8cd9c24f7023d05228..fafc9e1faebf192641e04bea34529d28f8ca786d 100644 |
--- a/src/mark-compact.cc |
+++ b/src/mark-compact.cc |
@@ -4146,23 +4146,12 @@ void MarkCompactCollector::SweepSpace(PagedSpace* space, SweeperType sweeper) { |
pages_swept++; |
parallel_sweeping_active = true; |
} else { |
- if (p->scan_on_scavenge()) { |
- SweepPrecisely<SWEEP_ONLY, IGNORE_SKIP_LIST, IGNORE_FREE_SPACE>( |
- space, p, NULL); |
- pages_swept++; |
- if (FLAG_gc_verbose) { |
- PrintF("Sweeping 0x%" V8PRIxPTR |
- " scan on scavenge page precisely.\n", |
- reinterpret_cast<intptr_t>(p)); |
- } |
- } else { |
- if (FLAG_gc_verbose) { |
- PrintF("Sweeping 0x%" V8PRIxPTR " conservatively in parallel.\n", |
- reinterpret_cast<intptr_t>(p)); |
- } |
- p->set_parallel_sweeping(MemoryChunk::PARALLEL_SWEEPING_PENDING); |
- space->IncreaseUnsweptFreeBytes(p); |
+ if (FLAG_gc_verbose) { |
+ PrintF("Sweeping 0x%" V8PRIxPTR " conservatively in parallel.\n", |
+ reinterpret_cast<intptr_t>(p)); |
} |
+ p->set_parallel_sweeping(MemoryChunk::PARALLEL_SWEEPING_PENDING); |
+ space->IncreaseUnsweptFreeBytes(p); |
} |
space->set_end_of_unswept_pages(p); |
break; |