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

Unified Diff: include/v8.h

Issue 2895473003: [heap] Simplify and scale ResourceConstraints::ConfigureDefaults. (Closed)
Patch Set: Created 3 years, 7 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/api.cc » ('j') | src/heap/heap.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index 8458ccdabfdb6e2003dd2871ea992fae12dab95a..62f52090e032d196dca876019d2b5a1ee98c5f7d 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -5961,6 +5961,9 @@ class V8_EXPORT ResourceConstraints {
}
private:
+ int ComputeMaxOldGenerationSize(uint64_t physical_memory);
+ int ComputeMaxSemiSpaceSize(uint64_t physical_memory);
+
int max_semi_space_size_;
int max_old_space_size_;
int max_executable_size_;
« no previous file with comments | « no previous file | src/api.cc » ('j') | src/heap/heap.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698