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

Unified Diff: src/heap/heap.h

Issue 2735803005: [heap] Start concurrent marking simultaneously with incremental marking. (Closed)
Patch Set: fix test Created 3 years, 8 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/concurrent-marking.cc ('k') | src/heap/heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/heap.h
diff --git a/src/heap/heap.h b/src/heap/heap.h
index 014fe22eb1a1783af4ef702c35faf12c6705335f..cd3a0e3e672e2f476cf3e968d8fc08f39c2ad3a2 100644
--- a/src/heap/heap.h
+++ b/src/heap/heap.h
@@ -1239,6 +1239,12 @@ class Heap {
IncrementalMarking* incremental_marking() { return incremental_marking_; }
+ // ===========================================================================
+ // Concurrent marking API. ===================================================
+ // ===========================================================================
+
+ ConcurrentMarking* concurrent_marking() { return concurrent_marking_; }
+
// The runtime uses this function to notify potentially unsafe object layout
// changes that require special synchronization with the concurrent marker.
// A layout change is unsafe if
« no previous file with comments | « src/heap/concurrent-marking.cc ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698