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 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
652 "old code (required for code flushing)") | 652 "old code (required for code flushing)") |
653 DEFINE_BOOL(incremental_marking, true, "use incremental marking") | 653 DEFINE_BOOL(incremental_marking, true, "use incremental marking") |
654 DEFINE_BOOL(overapproximate_weak_closure, true, | 654 DEFINE_BOOL(overapproximate_weak_closure, true, |
655 "overapproximate weak closer to reduce atomic pause time") | 655 "overapproximate weak closer to reduce atomic pause time") |
656 DEFINE_INT(min_progress_during_object_groups_marking, 128, | 656 DEFINE_INT(min_progress_during_object_groups_marking, 128, |
657 "keep overapproximating the weak closure as long as we discover at " | 657 "keep overapproximating the weak closure as long as we discover at " |
658 "least this many unmarked objects") | 658 "least this many unmarked objects") |
659 DEFINE_INT(max_object_groups_marking_rounds, 3, | 659 DEFINE_INT(max_object_groups_marking_rounds, 3, |
660 "at most try this many times to over approximate the weak closure") | 660 "at most try this many times to over approximate the weak closure") |
661 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") | 661 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") |
| 662 DEFINE_BOOL(parallel_compaction, false, "use parallel compaction") |
662 DEFINE_BOOL(trace_incremental_marking, false, | 663 DEFINE_BOOL(trace_incremental_marking, false, |
663 "trace progress of the incremental marking") | 664 "trace progress of the incremental marking") |
664 DEFINE_BOOL(track_gc_object_stats, false, | 665 DEFINE_BOOL(track_gc_object_stats, false, |
665 "track object counts and memory usage") | 666 "track object counts and memory usage") |
666 DEFINE_BOOL(trace_gc_object_stats, false, | 667 DEFINE_BOOL(trace_gc_object_stats, false, |
667 "trace object counts and memory usage") | 668 "trace object counts and memory usage") |
668 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats) | 669 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats) |
669 DEFINE_BOOL(track_detached_contexts, true, | 670 DEFINE_BOOL(track_detached_contexts, true, |
670 "track native contexts that are expected to be garbage collected") | 671 "track native contexts that are expected to be garbage collected") |
671 DEFINE_BOOL(trace_detached_contexts, false, | 672 DEFINE_BOOL(trace_detached_contexts, false, |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
801 "Write V8 startup blob file. (mksnapshot only)") | 802 "Write V8 startup blob file. (mksnapshot only)") |
802 | 803 |
803 // code-stubs-hydrogen.cc | 804 // code-stubs-hydrogen.cc |
804 DEFINE_BOOL(profile_hydrogen_code_stub_compilation, false, | 805 DEFINE_BOOL(profile_hydrogen_code_stub_compilation, false, |
805 "Print the time it takes to lazily compile hydrogen code stubs.") | 806 "Print the time it takes to lazily compile hydrogen code stubs.") |
806 | 807 |
807 DEFINE_BOOL(predictable, false, "enable predictable mode") | 808 DEFINE_BOOL(predictable, false, "enable predictable mode") |
808 DEFINE_NEG_IMPLICATION(predictable, concurrent_recompilation) | 809 DEFINE_NEG_IMPLICATION(predictable, concurrent_recompilation) |
809 DEFINE_NEG_IMPLICATION(predictable, concurrent_osr) | 810 DEFINE_NEG_IMPLICATION(predictable, concurrent_osr) |
810 DEFINE_NEG_IMPLICATION(predictable, concurrent_sweeping) | 811 DEFINE_NEG_IMPLICATION(predictable, concurrent_sweeping) |
| 812 DEFINE_NEG_IMPLICATION(predictable, parallel_compaction) |
811 | 813 |
812 // mark-compact.cc | 814 // mark-compact.cc |
813 DEFINE_BOOL(force_marking_deque_overflows, false, | 815 DEFINE_BOOL(force_marking_deque_overflows, false, |
814 "force overflows of marking deque by reducing it's size " | 816 "force overflows of marking deque by reducing it's size " |
815 "to 64 words") | 817 "to 64 words") |
816 | 818 |
817 DEFINE_BOOL(stress_compaction, false, | 819 DEFINE_BOOL(stress_compaction, false, |
818 "stress the GC compactor to flush out bugs (implies " | 820 "stress the GC compactor to flush out bugs (implies " |
819 "--force_marking_deque_overflows)") | 821 "--force_marking_deque_overflows)") |
820 | 822 |
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1096 #undef DEFINE_ALIAS_FLOAT | 1098 #undef DEFINE_ALIAS_FLOAT |
1097 #undef DEFINE_ALIAS_ARGS | 1099 #undef DEFINE_ALIAS_ARGS |
1098 | 1100 |
1099 #undef FLAG_MODE_DECLARE | 1101 #undef FLAG_MODE_DECLARE |
1100 #undef FLAG_MODE_DEFINE | 1102 #undef FLAG_MODE_DEFINE |
1101 #undef FLAG_MODE_DEFINE_DEFAULTS | 1103 #undef FLAG_MODE_DEFINE_DEFAULTS |
1102 #undef FLAG_MODE_META | 1104 #undef FLAG_MODE_META |
1103 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1105 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1104 | 1106 |
1105 #undef COMMA | 1107 #undef COMMA |
OLD | NEW |