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

Unified Diff: runtime/vm/heap.cc

Issue 329163003: Grow new gen (1M -> 4M -> 16M on 32-bit) when there is little garbage. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 6 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 | « runtime/vm/heap.h ('k') | runtime/vm/scavenger.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/heap.cc
===================================================================
--- runtime/vm/heap.cc (revision 37279)
+++ runtime/vm/heap.cc (working copy)
@@ -33,7 +33,7 @@
"maximum total external size (MB) in new gen before triggering GC");
Heap::Heap(Isolate* isolate,
- intptr_t max_new_gen_words,
+ intptr_t max_new_gen_semi_words,
intptr_t max_old_gen_words)
: isolate_(isolate), read_only_(false), gc_in_progress_(false) {
for (int sel = 0;
@@ -43,7 +43,7 @@
old_weak_tables_[sel] = new WeakTable();
}
new_space_ = new Scavenger(this,
- max_new_gen_words,
+ max_new_gen_semi_words,
kNewObjectAlignmentOffset);
old_space_ = new PageSpace(this, max_old_gen_words);
stats_.num_ = 0;
« no previous file with comments | « runtime/vm/heap.h ('k') | runtime/vm/scavenger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698