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 721 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
732 "Flush code caches in maps during mark compact cycle.") | 732 "Flush code caches in maps during mark compact cycle.") |
733 DEFINE_BOOL(use_marking_progress_bar, true, | 733 DEFINE_BOOL(use_marking_progress_bar, true, |
734 "Use a progress bar to scan large objects in increments when " | 734 "Use a progress bar to scan large objects in increments when " |
735 "incremental marking is active.") | 735 "incremental marking is active.") |
736 DEFINE_BOOL(force_marking_deque_overflows, false, | 736 DEFINE_BOOL(force_marking_deque_overflows, false, |
737 "force overflows of marking deque by reducing it's size " | 737 "force overflows of marking deque by reducing it's size " |
738 "to 64 words") | 738 "to 64 words") |
739 DEFINE_BOOL(stress_compaction, false, | 739 DEFINE_BOOL(stress_compaction, false, |
740 "stress the GC compactor to flush out bugs (implies " | 740 "stress the GC compactor to flush out bugs (implies " |
741 "--force_marking_deque_overflows)") | 741 "--force_marking_deque_overflows)") |
| 742 DEFINE_BOOL(stress_incremental_marking, V8_CONCURRENT_MARKING_BOOL, |
| 743 "force incremental marking for small heaps and run it more often") |
742 DEFINE_BOOL(manual_evacuation_candidates_selection, false, | 744 DEFINE_BOOL(manual_evacuation_candidates_selection, false, |
743 "Test mode only flag. It allows an unit test to select evacuation " | 745 "Test mode only flag. It allows an unit test to select evacuation " |
744 "candidates pages (requires --stress_compaction).") | 746 "candidates pages (requires --stress_compaction).") |
745 DEFINE_BOOL(fast_promotion_new_space, false, | 747 DEFINE_BOOL(fast_promotion_new_space, false, |
746 "fast promote new space on high survival rates") | 748 "fast promote new space on high survival rates") |
747 | 749 |
748 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc | 750 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc |
749 DEFINE_BOOL(debug_code, DEBUG_BOOL, | 751 DEFINE_BOOL(debug_code, DEBUG_BOOL, |
750 "generate extra code (assertions) for debugging") | 752 "generate extra code (assertions) for debugging") |
751 DEFINE_BOOL(code_comments, false, "emit comments in code disassembly") | 753 DEFINE_BOOL(code_comments, false, "emit comments in code disassembly") |
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1366 #undef DEFINE_ALIAS_FLOAT | 1368 #undef DEFINE_ALIAS_FLOAT |
1367 #undef DEFINE_ALIAS_ARGS | 1369 #undef DEFINE_ALIAS_ARGS |
1368 | 1370 |
1369 #undef FLAG_MODE_DECLARE | 1371 #undef FLAG_MODE_DECLARE |
1370 #undef FLAG_MODE_DEFINE | 1372 #undef FLAG_MODE_DEFINE |
1371 #undef FLAG_MODE_DEFINE_DEFAULTS | 1373 #undef FLAG_MODE_DEFINE_DEFAULTS |
1372 #undef FLAG_MODE_META | 1374 #undef FLAG_MODE_META |
1373 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1375 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1374 | 1376 |
1375 #undef COMMA | 1377 #undef COMMA |
OLD | NEW |