Chromium Code Reviews

Unified Diff: src/sweeper-thread.cc

Issue 12261011: Move sweeping pending status field of concurrent sweepers to MarkCompactCollector. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « src/sweeper-thread.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/sweeper-thread.cc
diff --git a/src/sweeper-thread.cc b/src/sweeper-thread.cc
index 0e60c3eb82928add84ec7274a87396d4a3f6c5b2..df5fcc683a403770ccaedfd9e4ef57d3e20b2472 100644
--- a/src/sweeper-thread.cc
+++ b/src/sweeper-thread.cc
@@ -54,9 +54,6 @@ SweeperThread::SweeperThread(Isolate* isolate)
}
-bool SweeperThread::sweeping_pending_ = false;
-
-
void SweeperThread::Run() {
Isolate::SetIsolateThreadLocals(isolate_, NULL);
while (true) {
@@ -77,6 +74,7 @@ void SweeperThread::Run() {
}
}
+
intptr_t SweeperThread::StealMemory(PagedSpace* space) {
intptr_t free_bytes = 0;
if (space->identity() == OLD_POINTER_SPACE) {
« no previous file with comments | « src/sweeper-thread.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine