Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(718)

Unified Diff: src/heap/mark-compact.h

Issue 1225733002: Reland concurrent sweeping of code space. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/heap/heap.cc ('k') | src/heap/mark-compact.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/mark-compact.h
diff --git a/src/heap/mark-compact.h b/src/heap/mark-compact.h
index e212c9501dda037d90463adb6de3afbc79a4bc15..b2a41ce1f6733d2e47d72da51971454c61dfaf12 100644
--- a/src/heap/mark-compact.h
+++ b/src/heap/mark-compact.h
@@ -691,6 +691,8 @@ class MarkCompactCollector {
void EnsureSweepingCompleted();
+ void EnsureSweepingCompleted(Page* page, PagedSpace* space);
+
// If sweeper threads are not active this method will return true. If
// this is a latency issue we should be smarter here. Otherwise, it will
// return true if the sweeper threads are done processing the pages.
@@ -967,6 +969,7 @@ class MarkCompactCollector {
List<Page*> evacuation_candidates_;
base::SmartPointer<FreeList> free_list_old_space_;
+ base::SmartPointer<FreeList> free_list_code_space_;
friend class Heap;
};
« no previous file with comments | « src/heap/heap.cc ('k') | src/heap/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698