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

Unified Diff: tests/language/gc_test.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | « tests/language/fannkuch_test.dart ('k') | tests/language/generic_instanceof.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/gc_test.dart
diff --git a/tests/language/gc_test.dart b/tests/language/gc_test.dart
index b64a4e31ea9d65b849234158a94ac9f7d5a126e2..9ae29a27965e1537e2353ac448836bf0109aa9a0 100644
--- a/tests/language/gc_test.dart
+++ b/tests/language/gc_test.dart
@@ -7,12 +7,12 @@
main() {
var div;
for (int i = 0; i < 200; ++i) {
- List l = new List(1000000);
+ List l = new List.fixedLength(1000000);
var m = 2;
div = (_) {
var b = l; // Was causing OutOfMemory.
};
- var lSmall = new List(3);
+ var lSmall = new List.fixedLength(3);
// Circular reference between new and old gen objects.
lSmall[0] = l;
l[0] = lSmall;
« no previous file with comments | « tests/language/fannkuch_test.dart ('k') | tests/language/generic_instanceof.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698