| 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 792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 803 "to 64 words") | 803 "to 64 words") |
| 804 | 804 |
| 805 DEFINE_BOOL(stress_compaction, false, | 805 DEFINE_BOOL(stress_compaction, false, |
| 806 "stress the GC compactor to flush out bugs (implies " | 806 "stress the GC compactor to flush out bugs (implies " |
| 807 "--force_marking_deque_overflows)") | 807 "--force_marking_deque_overflows)") |
| 808 | 808 |
| 809 DEFINE_BOOL(manual_evacuation_candidates_selection, false, | 809 DEFINE_BOOL(manual_evacuation_candidates_selection, false, |
| 810 "Test mode only flag. It allows an unit test to select evacuation " | 810 "Test mode only flag. It allows an unit test to select evacuation " |
| 811 "candidates pages (requires --stress_compaction).") | 811 "candidates pages (requires --stress_compaction).") |
| 812 | 812 |
| 813 // api.cc |
| 814 DEFINE_INT(external_allocation_limit_incremental_time, 1, |
| 815 "Time spent in incremental marking steps (in ms) once the external " |
| 816 "allocation limit is reached") |
| 813 | 817 |
| 814 // | 818 // |
| 815 // Dev shell flags | 819 // Dev shell flags |
| 816 // | 820 // |
| 817 | 821 |
| 818 DEFINE_BOOL(help, false, "Print usage message, including flags, on console") | 822 DEFINE_BOOL(help, false, "Print usage message, including flags, on console") |
| 819 DEFINE_BOOL(dump_counters, false, "Dump counters on exit") | 823 DEFINE_BOOL(dump_counters, false, "Dump counters on exit") |
| 820 | 824 |
| 821 DEFINE_STRING(map_counters, "", "Map counters to a file") | 825 DEFINE_STRING(map_counters, "", "Map counters to a file") |
| 822 DEFINE_ARGS(js_arguments, | 826 DEFINE_ARGS(js_arguments, |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1077 #undef DEFINE_ALIAS_FLOAT | 1081 #undef DEFINE_ALIAS_FLOAT |
| 1078 #undef DEFINE_ALIAS_ARGS | 1082 #undef DEFINE_ALIAS_ARGS |
| 1079 | 1083 |
| 1080 #undef FLAG_MODE_DECLARE | 1084 #undef FLAG_MODE_DECLARE |
| 1081 #undef FLAG_MODE_DEFINE | 1085 #undef FLAG_MODE_DEFINE |
| 1082 #undef FLAG_MODE_DEFINE_DEFAULTS | 1086 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1083 #undef FLAG_MODE_META | 1087 #undef FLAG_MODE_META |
| 1084 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1088 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1085 | 1089 |
| 1086 #undef COMMA | 1090 #undef COMMA |
| OLD | NEW |