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

Unified Diff: runtime/vm/pages_test.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.cc ('k') | tests/standalone/oom_error_stacktrace_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/pages_test.cc
===================================================================
--- runtime/vm/pages_test.cc (revision 43108)
+++ runtime/vm/pages_test.cc (working copy)
@@ -9,7 +9,7 @@
namespace dart {
TEST_CASE(Pages) {
- PageSpace* space = new PageSpace(NULL, 4 * MBInWords);
+ PageSpace* space = new PageSpace(NULL, 4 * MBInWords, 8 * MBInWords);
EXPECT(!space->Contains(reinterpret_cast<uword>(&space)));
uword block = space->TryAllocate(8 * kWordSize);
EXPECT(block != 0);
« no previous file with comments | « runtime/vm/pages.cc ('k') | tests/standalone/oom_error_stacktrace_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698