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

Unified Diff: src/heap/heap.h

Issue 1311993003: Reland "Make sure that memory reducer makes progress in incremental marking"" (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add check to TryFinalizeIdleIncrementalMarking 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 | « no previous file | src/heap/heap.cc » ('j') | test/cctest/test-heap.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 d74d9cff958dfc1e316b425f4138e662de11f345..947b233e2492d08efb8e1661fd0ee5d350d66436 100644
--- a/src/heap/heap.h
+++ b/src/heap/heap.h
@@ -840,6 +840,8 @@ class Heap {
// Notify the heap that a context has been disposed.
int NotifyContextDisposed(bool dependant_context);
+ void FinalizeIncrementalMarkingIfComplete(const char* comment);
Michael Lippautz 2015/09/03 15:01:49 nit: There's a section for incremental marking aro
ulan_google 2015/09/03 15:07:00 Done.
+
inline void increment_scan_on_scavenge_pages() {
scan_on_scavenge_pages_++;
if (FLAG_gc_verbose) {
@@ -1036,6 +1038,8 @@ class Heap {
bool HasHighFragmentation();
bool HasHighFragmentation(intptr_t used, intptr_t committed);
+ bool ShouldOptimizeForMemoryUsage() { return optimize_for_memory_usage_; }
+
// ===========================================================================
// Initialization. ===========================================================
// ===========================================================================
« no previous file with comments | « no previous file | src/heap/heap.cc » ('j') | test/cctest/test-heap.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698