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

Side by Side Diff: tests/language/vm/regress_16873_test.dart

Issue 2247733005: Correct and GC unrecognized flags from our tests. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « tests/language/function_field_test.dart ('k') | tests/standalone/no_support_coverage_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 // VMOptions=--new_gen_heap_size=1 --no_inline_alloc 4 // VMOptions=--new_gen_semi_max_size=1 --no_inline_alloc
5 5
6 // Regression test for slow-path allocation in the allocation stub. 6 // Regression test for slow-path allocation in the allocation stub.
7 7
8 library map_test; 8 library map_test;
9 import 'dart:collection'; 9 import 'dart:collection';
10 10
11 void testCollection(var collection, n) { 11 void testCollection(var collection, n) {
12 for (int i = 0; i < n; i++) { 12 for (int i = 0; i < n; i++) {
13 if (i % 1000 == 0) print(i); 13 if (i % 1000 == 0) print(i);
14 collection.add(i); 14 collection.add(i);
15 } 15 }
16 } 16 }
17 17
18 main() { 18 main() {
19 const int N = 100000; 19 const int N = 100000;
20 testCollection(new LinkedHashSet(), N); 20 testCollection(new LinkedHashSet(), N);
21 } 21 }
OLDNEW
« no previous file with comments | « tests/language/function_field_test.dart ('k') | tests/standalone/no_support_coverage_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698