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

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

Issue 1330463002: [not for landing, heap] Parallel compaction in main GC pause (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase: Remove obsolete changes Created 5 years, 3 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/flag-definitions.h ('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 e0b7c38ca0bd0cfc2c0f785b31c59c476a576943..db7289aa99f8db6fe534e152e0bae22141624bc8 100644
--- a/src/heap/mark-compact.h
+++ b/src/heap/mark-compact.h
@@ -556,6 +556,8 @@ class MarkCompactCollector {
// Synchronize compaction threads.
base::Semaphore pending_compaction_jobs_semaphore_;
+ size_t concurrent_compaction_tasks_active_;
+
bool evacuation_;
SlotsBufferAllocator* slots_buffer_allocator_;
@@ -713,8 +715,11 @@ class MarkCompactCollector {
void EvacuateNewSpace();
void EvacuateLiveObjectsFromPage(Page* p, PagedSpace* target_space);
+ bool EvacuateLiveObjectsFromPageWithoutEmergency(Page* p,
+ PagedSpace* target_space);
void EvacuatePages();
+ void EvacuatePagesUsingCompactionSpace(CompactionSpaces* compaction_spaces);
void EvacuatePagesInParallel();
« no previous file with comments | « src/flag-definitions.h ('k') | src/heap/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698