OLD | NEW |
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 898 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
909 "to 64 words") | 909 "to 64 words") |
910 | 910 |
911 DEFINE_BOOL(stress_compaction, false, | 911 DEFINE_BOOL(stress_compaction, false, |
912 "stress the GC compactor to flush out bugs (implies " | 912 "stress the GC compactor to flush out bugs (implies " |
913 "--force_marking_deque_overflows)") | 913 "--force_marking_deque_overflows)") |
914 | 914 |
915 DEFINE_BOOL(manual_evacuation_candidates_selection, false, | 915 DEFINE_BOOL(manual_evacuation_candidates_selection, false, |
916 "Test mode only flag. It allows an unit test to select evacuation " | 916 "Test mode only flag. It allows an unit test to select evacuation " |
917 "candidates pages (requires --stress_compaction).") | 917 "candidates pages (requires --stress_compaction).") |
918 | 918 |
919 // api.cc | |
920 DEFINE_INT(external_allocation_limit_incremental_time, 1, | |
921 "Time spent in incremental marking steps (in ms) once the external " | |
922 "allocation limit is reached") | |
923 | |
924 DEFINE_BOOL(disable_old_api_accessors, false, | 919 DEFINE_BOOL(disable_old_api_accessors, false, |
925 "Disable old-style API accessors whose setters trigger through the " | 920 "Disable old-style API accessors whose setters trigger through the " |
926 "prototype chain") | 921 "prototype chain") |
927 | 922 |
928 // | 923 // |
929 // Dev shell flags | 924 // Dev shell flags |
930 // | 925 // |
931 | 926 |
932 DEFINE_BOOL(help, false, "Print usage message, including flags, on console") | 927 DEFINE_BOOL(help, false, "Print usage message, including flags, on console") |
933 DEFINE_BOOL(dump_counters, false, "Dump counters on exit") | 928 DEFINE_BOOL(dump_counters, false, "Dump counters on exit") |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1202 #undef DEFINE_ALIAS_FLOAT | 1197 #undef DEFINE_ALIAS_FLOAT |
1203 #undef DEFINE_ALIAS_ARGS | 1198 #undef DEFINE_ALIAS_ARGS |
1204 | 1199 |
1205 #undef FLAG_MODE_DECLARE | 1200 #undef FLAG_MODE_DECLARE |
1206 #undef FLAG_MODE_DEFINE | 1201 #undef FLAG_MODE_DEFINE |
1207 #undef FLAG_MODE_DEFINE_DEFAULTS | 1202 #undef FLAG_MODE_DEFINE_DEFAULTS |
1208 #undef FLAG_MODE_META | 1203 #undef FLAG_MODE_META |
1209 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1204 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1210 | 1205 |
1211 #undef COMMA | 1206 #undef COMMA |
OLD | NEW |