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

Side by Side Diff: tests/standalone/oom_error_stacktrace_test.dart

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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/pages_test.cc ('k') | tests/standalone/out_of_memory_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 // Dart test program for testing throw statement 4 // Dart test program for testing throw statement
5 // VMOptions=--old_gen_heap_size=512
5 6
6 import "package:expect/expect.dart"; 7 import "package:expect/expect.dart";
7 8
8 class Helper1 { 9 class Helper1 {
9 static int func1() { 10 static int func1() {
10 return func2(); 11 return func2();
11 } 12 }
12 static int func2() { 13 static int func2() {
13 return func3(); 14 return func3();
14 } 15 }
(...skipping 20 matching lines...) Expand all
35 36
36 class OOMErrorStackTraceTest { 37 class OOMErrorStackTraceTest {
37 static testMain() { 38 static testMain() {
38 Expect.equals(100, Helper1.func1()); 39 Expect.equals(100, Helper1.func1());
39 } 40 }
40 } 41 }
41 42
42 main() { 43 main() {
43 OOMErrorStackTraceTest.testMain(); 44 OOMErrorStackTraceTest.testMain();
44 } 45 }
OLDNEW
« no previous file with comments | « runtime/vm/pages_test.cc ('k') | tests/standalone/out_of_memory_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698