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

Unified Diff: runtime/vm/pages.cc

Issue 864843002: Remove default heap size limit and add separate limit for externals. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 11 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/pages.h ('k') | runtime/vm/pages_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/pages.cc
===================================================================
--- runtime/vm/pages.cc (revision 43108)
+++ runtime/vm/pages.cc (working copy)
@@ -133,7 +133,9 @@
}
-PageSpace::PageSpace(Heap* heap, intptr_t max_capacity_in_words)
+PageSpace::PageSpace(Heap* heap,
+ intptr_t max_capacity_in_words,
+ intptr_t max_external_in_words)
: freelist_(),
heap_(heap),
pages_lock_(new Mutex()),
@@ -145,6 +147,7 @@
bump_top_(0),
bump_end_(0),
max_capacity_in_words_(max_capacity_in_words),
+ max_external_in_words_(max_external_in_words),
tasks_lock_(new Monitor()),
tasks_(0),
page_space_controller_(heap,
« no previous file with comments | « runtime/vm/pages.h ('k') | runtime/vm/pages_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698