| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 // | 4 // |
| 5 // Test write barrier verification mode. | 5 // Test write barrier verification mode. |
| 6 // VMOptions=--verified_mem --verify_before_gc --verify_after_gc | 6 // VMOptions=--verified_mem --verify_before_gc --verify_after_gc --old_gen_growt
h_rate=1 |
| 7 | 7 |
| 8 var a = []; | 8 var a = []; |
| 9 | 9 |
| 10 void main() { | 10 void main() { |
| 11 for (int i = 0; i < 12; ++i) { | 11 for (int i = 0; i < 12; ++i) { |
| 12 a.add(new List(12345)); | 12 a.add(new List(12345)); |
| 13 } | 13 } |
| 14 for (int i = 0; i < 1234; ++i) { | 14 for (int i = 0; i < 1234; ++i) { |
| 15 a[0] = new List(100000); | 15 a[0] = new List(100000); |
| 16 } | 16 } |
| 17 } | 17 } |
| OLD | NEW |