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

Unified Diff: src/heap/heap.h

Issue 2304123003: [heap] Refactor incremental marking step. (Closed)
Patch Set: x Created 4 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 | « no previous file | src/heap/heap.cc » ('j') | src/heap/incremental-marking.cc » ('J')
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 1a567e08be00f66a09bd66bd8af92c1296878c1a..fad146c36fde42a5a93e3ea1741e3db39efefd7f 100644
--- a/src/heap/heap.h
+++ b/src/heap/heap.h
@@ -1159,6 +1159,11 @@ class Heap {
GCCallbackFlags::kNoGCCallbackFlags,
const char* reason = nullptr);
+ void StartIncrementalMarkingIfNeeded(int gc_flags = kNoGCFlags,
+ const GCCallbackFlags gc_callback_flags =
+ GCCallbackFlags::kNoGCCallbackFlags,
+ const char* reason = nullptr);
+
void FinalizeIncrementalMarkingIfComplete(const char* comment);
bool TryFinalizeIdleIncrementalMarking(double idle_time_in_ms);
« no previous file with comments | « no previous file | src/heap/heap.cc » ('j') | src/heap/incremental-marking.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698