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