| 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 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 756 | 756 |
| 757 // mark-compact.cc | 757 // mark-compact.cc |
| 758 DEFINE_BOOL(force_marking_deque_overflows, false, | 758 DEFINE_BOOL(force_marking_deque_overflows, false, |
| 759 "force overflows of marking deque by reducing it's size " | 759 "force overflows of marking deque by reducing it's size " |
| 760 "to 64 words") | 760 "to 64 words") |
| 761 | 761 |
| 762 DEFINE_BOOL(stress_compaction, false, | 762 DEFINE_BOOL(stress_compaction, false, |
| 763 "stress the GC compactor to flush out bugs (implies " | 763 "stress the GC compactor to flush out bugs (implies " |
| 764 "--force_marking_deque_overflows)") | 764 "--force_marking_deque_overflows)") |
| 765 | 765 |
| 766 DEFINE_BOOL(manual_evacuation_candidates_selection, false, | |
| 767 "Test mode only flag. It allows an unit test to select evacuation " | |
| 768 "candidates pages (requires --stress_compaction).") | |
| 769 | |
| 770 | |
| 771 // | 766 // |
| 772 // Dev shell flags | 767 // Dev shell flags |
| 773 // | 768 // |
| 774 | 769 |
| 775 DEFINE_BOOL(help, false, "Print usage message, including flags, on console") | 770 DEFINE_BOOL(help, false, "Print usage message, including flags, on console") |
| 776 DEFINE_BOOL(dump_counters, false, "Dump counters on exit") | 771 DEFINE_BOOL(dump_counters, false, "Dump counters on exit") |
| 777 | 772 |
| 778 DEFINE_BOOL(debugger, false, "Enable JavaScript debugger") | 773 DEFINE_BOOL(debugger, false, "Enable JavaScript debugger") |
| 779 | 774 |
| 780 DEFINE_STRING(map_counters, "", "Map counters to a file") | 775 DEFINE_STRING(map_counters, "", "Map counters to a file") |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1037 #undef DEFINE_ALIAS_FLOAT | 1032 #undef DEFINE_ALIAS_FLOAT |
| 1038 #undef DEFINE_ALIAS_ARGS | 1033 #undef DEFINE_ALIAS_ARGS |
| 1039 | 1034 |
| 1040 #undef FLAG_MODE_DECLARE | 1035 #undef FLAG_MODE_DECLARE |
| 1041 #undef FLAG_MODE_DEFINE | 1036 #undef FLAG_MODE_DEFINE |
| 1042 #undef FLAG_MODE_DEFINE_DEFAULTS | 1037 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1043 #undef FLAG_MODE_META | 1038 #undef FLAG_MODE_META |
| 1044 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1039 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1045 | 1040 |
| 1046 #undef COMMA | 1041 #undef COMMA |
| OLD | NEW |