Index: tests/language/gc_test.dart |
diff --git a/tests/language/gc_test.dart b/tests/language/gc_test.dart |
index 9ae29a27965e1537e2353ac448836bf0109aa9a0..b64a4e31ea9d65b849234158a94ac9f7d5a126e2 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.fixedLength(1000000); |
+ List l = new List(1000000); |
var m = 2; |
div = (_) { |
var b = l; // Was causing OutOfMemory. |
}; |
- var lSmall = new List.fixedLength(3); |
+ var lSmall = new List(3); |
// Circular reference between new and old gen objects. |
lSmall[0] = l; |
l[0] = lSmall; |