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

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

Issue 2379663002: Reland "[heap] New heuristics for starting of incremental marking. (patchset #9 id:160001 of https:… (Closed)
Patch Set: fix 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 | « src/heap/heap-inl.h ('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 8990d0f3f14e5886fb167a51b629a0e9cde5756d..c2290c4d8206ee39907d7d327baca35cb9e5db46 100644
--- a/src/heap/incremental-marking.h
+++ b/src/heap/incremental-marking.h
@@ -72,8 +72,6 @@ class IncrementalMarking {
bool CanBeActivated();
- bool ShouldActivateEvenWithoutIdleNotification();
-
bool WasActivated();
void Start(GarbageCollectionReason gc_reason);
@@ -117,6 +115,12 @@ class IncrementalMarking {
// incremental marking to be postponed.
static const int kMaxIdleMarkingDelayCounter = 3;
+#ifndef DEBUG
+ static const intptr_t kActivationThreshold = 8 * MB;
+#else
+ static const intptr_t kActivationThreshold = 0;
+#endif
+
void FinalizeSweeping();
size_t Step(size_t bytes_to_process, CompletionAction action,
« no previous file with comments | « src/heap/heap-inl.h ('k') | src/heap/incremental-marking.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698