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