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