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

Unified Diff: src/heap/incremental-marking.h

Issue 1014503003: Hook up over approximating the weak closure to the idle time handler (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 5 years, 9 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/incremental-marking.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/incremental-marking.h
diff --git a/src/heap/incremental-marking.h b/src/heap/incremental-marking.h
index 21fdb2da3735b1cf5ff67f712ecc71e71a2c1c3f..231a27ac8400376cbdac55fa443760c27cc77238 100644
--- a/src/heap/incremental-marking.h
+++ b/src/heap/incremental-marking.h
@@ -53,6 +53,10 @@ class IncrementalMarking {
inline bool IsComplete() { return state() == COMPLETE; }
+ inline bool IsReadyToOverApproximateWeakClosure() const {
+ return request_type_ == OVERAPPROXIMATION;
+ }
+
GCRequestType request_type() const { return request_type_; }
bool WorthActivating();
@@ -79,7 +83,7 @@ class IncrementalMarking {
void Abort();
- void OverApproximateWeakClosure();
+ void OverApproximateWeakClosure(CompletionAction action);
void MarkingComplete(CompletionAction action);
« no previous file with comments | « src/heap/heap.cc ('k') | src/heap/incremental-marking.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698