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

Side by Side Diff: runtime/bin/main.cc

Issue 2183533002: Peturb the reload points on the reload bot (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 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 | « no previous file | runtime/vm/isolate.cc » ('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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 #include <stdlib.h> 5 #include <stdlib.h>
6 #include <string.h> 6 #include <string.h>
7 #include <stdio.h> 7 #include <stdio.h>
8 8
9 #include "include/dart_api.h" 9 #include "include/dart_api.h"
10 #include "include/dart_tools_api.h" 10 #include "include/dart_tools_api.h"
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 433
434 static bool ProcessHotReloadTestModeOption(const char* arg, 434 static bool ProcessHotReloadTestModeOption(const char* arg,
435 CommandLineOptions* vm_options) { 435 CommandLineOptions* vm_options) {
436 if (*arg != '\0') { 436 if (*arg != '\0') {
437 return false; 437 return false;
438 } 438 }
439 439
440 // Identity reload. 440 // Identity reload.
441 vm_options->AddArgument("--identity_reload"); 441 vm_options->AddArgument("--identity_reload");
442 // Start reloading quickly. 442 // Start reloading quickly.
443 vm_options->AddArgument("--reload_every=5"); 443 vm_options->AddArgument("--reload_every=4");
444 // Reload from optimized and unoptimized code. 444 // Reload from optimized and unoptimized code.
445 vm_options->AddArgument("--reload_every_optimized=false"); 445 vm_options->AddArgument("--reload_every_optimized=false");
446 // Reload less frequently as time goes on. 446 // Reload less frequently as time goes on.
447 vm_options->AddArgument("--reload_every_back_off"); 447 vm_options->AddArgument("--reload_every_back_off");
448 // Ensure that every isolate has reloaded once before exiting. 448 // Ensure that every isolate has reloaded once before exiting.
449 vm_options->AddArgument("--check_reloaded"); 449 vm_options->AddArgument("--check_reloaded");
450 450
451 return true; 451 return true;
452 } 452 }
453 453
(...skipping 1291 matching lines...) Expand 10 before | Expand all | Expand 10 after
1745 Platform::Exit(Process::GlobalExitCode()); 1745 Platform::Exit(Process::GlobalExitCode());
1746 } 1746 }
1747 1747
1748 } // namespace bin 1748 } // namespace bin
1749 } // namespace dart 1749 } // namespace dart
1750 1750
1751 int main(int argc, char** argv) { 1751 int main(int argc, char** argv) {
1752 dart::bin::main(argc, argv); 1752 dart::bin::main(argc, argv);
1753 UNREACHABLE(); 1753 UNREACHABLE();
1754 } 1754 }
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698