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

Unified Diff: src/heap/heap.h

Issue 804323004: Reland Shrink initial old generation size based on new space survival rate. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years 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/gc-tracer.cc ('k') | src/heap/heap.cc » ('j') | no next file with comments »
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 50fe52dd8d70eea68307361814100fb84ef9506d..f891bbddc0a4e5c72c1e01eaac302e69e8be792c 100644
--- a/src/heap/heap.h
+++ b/src/heap/heap.h
@@ -1506,6 +1506,8 @@ class Heap {
int initial_semispace_size_;
int target_semispace_size_;
intptr_t max_old_generation_size_;
+ intptr_t initial_old_generation_size_;
+ bool old_generation_size_configured_;
intptr_t max_executable_size_;
intptr_t maximum_committed_;
@@ -1993,8 +1995,10 @@ class Heap {
int high_survival_rate_period_length_;
intptr_t promoted_objects_size_;
+ double promotion_ratio_;
double promotion_rate_;
intptr_t semi_space_copied_object_size_;
+ intptr_t previous_semi_space_copied_object_size_;
double semi_space_copied_rate_;
int nodes_died_in_new_space_;
int nodes_copied_in_new_space_;
@@ -2010,6 +2014,8 @@ class Heap {
// Re-visit incremental marking heuristics.
bool IsHighSurvivalRate() { return high_survival_rate_period_length_ > 0; }
+ void ConfigureInitialOldGenerationSize();
+
void SelectScavengingVisitorsTable();
void IdleMarkCompact(const char* message);
« no previous file with comments | « src/heap/gc-tracer.cc ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698