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

Side by Side Diff: src/flag-definitions.h

Issue 938683002: Add --single-threaded flag that disables background threads. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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 | src/heap/mark-compact.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file defines all of the flags. It is separated into different section, 5 // This file defines all of the flags. It is separated into different section,
6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the
7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'.
8 // 8 //
9 // This include does not have a guard, because it is a template-style include, 9 // This include does not have a guard, because it is a template-style include,
10 // which can be included multiple times in different modes. It expects to have 10 // which can be included multiple times in different modes. It expects to have
(...skipping 731 matching lines...) Expand 10 before | Expand all | Expand 10 after
742 742
743 // mksnapshot.cc 743 // mksnapshot.cc
744 DEFINE_STRING(startup_blob, NULL, 744 DEFINE_STRING(startup_blob, NULL,
745 "Write V8 startup blob file. (mksnapshot only)") 745 "Write V8 startup blob file. (mksnapshot only)")
746 746
747 // code-stubs-hydrogen.cc 747 // code-stubs-hydrogen.cc
748 DEFINE_BOOL(profile_hydrogen_code_stub_compilation, false, 748 DEFINE_BOOL(profile_hydrogen_code_stub_compilation, false,
749 "Print the time it takes to lazily compile hydrogen code stubs.") 749 "Print the time it takes to lazily compile hydrogen code stubs.")
750 750
751 DEFINE_BOOL(predictable, false, "enable predictable mode") 751 DEFINE_BOOL(predictable, false, "enable predictable mode")
752 DEFINE_NEG_IMPLICATION(predictable, concurrent_recompilation) 752 DEFINE_IMPLICATION(predictable, single_threaded)
753 DEFINE_NEG_IMPLICATION(predictable, concurrent_osr) 753
754 DEFINE_NEG_IMPLICATION(predictable, concurrent_sweeping) 754 DEFINE_BOOL(single_threaded, false, "use a single thread to run")
755 DEFINE_NEG_IMPLICATION(single_threaded, concurrent_recompilation)
756 DEFINE_NEG_IMPLICATION(single_threaded, concurrent_osr)
757 DEFINE_NEG_IMPLICATION(single_threaded, concurrent_sweeping)
755 758
756 759
757 // 760 //
758 // Dev shell flags 761 // Dev shell flags
759 // 762 //
760 763
761 DEFINE_BOOL(help, false, "Print usage message, including flags, on console") 764 DEFINE_BOOL(help, false, "Print usage message, including flags, on console")
762 DEFINE_BOOL(dump_counters, false, "Dump counters on exit") 765 DEFINE_BOOL(dump_counters, false, "Dump counters on exit")
763 766
764 DEFINE_BOOL(debugger, false, "Enable JavaScript debugger") 767 DEFINE_BOOL(debugger, false, "Enable JavaScript debugger")
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
1025 #undef DEFINE_ALIAS_FLOAT 1028 #undef DEFINE_ALIAS_FLOAT
1026 #undef DEFINE_ALIAS_ARGS 1029 #undef DEFINE_ALIAS_ARGS
1027 1030
1028 #undef FLAG_MODE_DECLARE 1031 #undef FLAG_MODE_DECLARE
1029 #undef FLAG_MODE_DEFINE 1032 #undef FLAG_MODE_DEFINE
1030 #undef FLAG_MODE_DEFINE_DEFAULTS 1033 #undef FLAG_MODE_DEFINE_DEFAULTS
1031 #undef FLAG_MODE_META 1034 #undef FLAG_MODE_META
1032 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1035 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1033 1036
1034 #undef COMMA 1037 #undef COMMA
OLDNEW
« no previous file with comments | « no previous file | src/heap/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698