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. =========================================================== |
// =========================================================================== |