Commit 7b3a211e authored by Ulan Degenbaev's avatar Ulan Degenbaev Committed by Commit Bot

[heap] Remove unused Sweeper::AddSweepingPageSafe.

BUG=v8:6474

Change-Id: I820ed47f18a41a1e281a78f1754f483a81627de8
Reviewed-on: https://chromium-review.googlesource.com/528104Reviewed-by: 's avatarHannes Payer <hpayer@chromium.org>
Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#45854}
parent 9a71683d
...@@ -4684,12 +4684,6 @@ Page* MarkCompactCollector::Sweeper::GetSweepingPageSafe( ...@@ -4684,12 +4684,6 @@ Page* MarkCompactCollector::Sweeper::GetSweepingPageSafe(
return page; return page;
} }
void MarkCompactCollector::Sweeper::AddSweepingPageSafe(AllocationSpace space,
Page* page) {
base::LockGuard<base::Mutex> guard(&mutex_);
sweeping_list_[space].push_back(page);
}
void MarkCompactCollector::StartSweepSpace(PagedSpace* space) { void MarkCompactCollector::StartSweepSpace(PagedSpace* space) {
space->ClearStats(); space->ClearStats();
......
...@@ -414,7 +414,6 @@ class MarkCompactCollector final : public MarkCompactCollectorBase { ...@@ -414,7 +414,6 @@ class MarkCompactCollector final : public MarkCompactCollectorBase {
} }
Page* GetSweepingPageSafe(AllocationSpace space); Page* GetSweepingPageSafe(AllocationSpace space);
void AddSweepingPageSafe(AllocationSpace space, Page* page);
void PrepareToBeSweptPage(AllocationSpace space, Page* page); void PrepareToBeSweptPage(AllocationSpace space, Page* page);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment