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

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

Issue 2594013003: VM: Fix lazy_deopt_vm_test timeouts by limiting (re)optimizations to a single function. (Closed)
Patch Set: Created 4 years 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 | « no previous file | no next file » | 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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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=--deoptimize_every=10 --optimization-counter-threshold=10 --no-bac kground-compilation 4 // VMOptions=--optimization-filter=foo --deoptimize_every=10 --optimization-coun ter-threshold=10 --no-background-compilation
5 5
6 // Test that lazy deoptimization on stack checks does not damage unoptimized 6 // Test that lazy deoptimization on stack checks does not damage unoptimized
7 // frame. 7 // frame.
8 8
9 import 'package:expect/expect.dart'; 9 import 'package:expect/expect.dart';
10 10
11 11
12 foo() { 12 foo() {
13 var a = 0; 13 var a = 0;
14 var b = 1; 14 var b = 1;
(...skipping 14 matching lines...) Expand all
29 Expect.equals(14, e); 29 Expect.equals(14, e);
30 } 30 }
31 31
32 main() { 32 main() {
33 for (var i = 0; i < 10; ++i) { 33 for (var i = 0; i < 10; ++i) {
34 foo(); 34 foo();
35 } 35 }
36 } 36 }
37 37
38 38
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698