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

Unified Diff: src/heap/mark-compact.h

Issue 1038653003: Change halfway-to-the-max GC trigger to measure committed pages, not allocated objects Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Don't provoke GC unless it will help 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
Index: src/heap/mark-compact.h
diff --git a/src/heap/mark-compact.h b/src/heap/mark-compact.h
index 3ffeeed7b17aa2961ca9a48e7544b685aae8736f..d8c720ee487e7124507dfe40e424b3e6e23fbd81 100644
--- a/src/heap/mark-compact.h
+++ b/src/heap/mark-compact.h
@@ -636,7 +636,9 @@ class MarkCompactCollector {
void ClearMarkbits();
- bool abort_incremental_marking() const { return abort_incremental_marking_; }
+ bool incremental_marking_abort_requested() const {
+ return incremental_marking_abort_requested_;
+ }
bool is_compacting() const { return compacting_; }
@@ -725,7 +727,7 @@ class MarkCompactCollector {
bool reduce_memory_footprint_;
- bool abort_incremental_marking_;
+ bool incremental_marking_abort_requested_;
MarkingParity marking_parity_;
« src/heap/heap.h ('K') | « src/heap/heap.cc ('k') | src/heap/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698