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