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

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

Issue 1271773002: Reland of land concurrent sweeping of code space. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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 b4a4fe7fda2c423c6450ee513d3d127472c0b63e..8f68917c319bdd3382fcf0b7a3d6adfff3e928c6 100644
--- a/src/heap/mark-compact.h
+++ b/src/heap/mark-compact.h
@@ -699,6 +699,8 @@
void EnsureSweepingCompleted();
+ void SweepOrWaitUntilSweepingCompleted(Page* page);
+
// 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.
@@ -979,6 +981,7 @@
List<Code*> invalidated_code_;
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