Index: src/heap/mark-compact.cc |
diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc |
index ae095782c380c1c5cb0109dba436e9374260be82..63d41c08a0214df9c93dcb66c63a82097c4ad9e7 100644 |
--- a/src/heap/mark-compact.cc |
+++ b/src/heap/mark-compact.cc |
@@ -542,15 +542,6 @@ void MarkCompactCollector::Sweeper::EnsureCompleted() { |
sweeping_in_progress_ = false; |
} |
-void MarkCompactCollector::Sweeper::EnsureNewSpaceCompleted() { |
- if (!sweeping_in_progress_) return; |
- if (!FLAG_concurrent_sweeping || !IsSweepingCompleted()) { |
- for (Page* p : *heap_->new_space()) { |
- SweepOrWaitUntilSweepingCompleted(p); |
- } |
- } |
-} |
- |
void MarkCompactCollector::EnsureSweepingCompleted() { |
if (!sweeper().sweeping_in_progress()) return; |