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 DEFINE_VALUE_IMPLICATION(track_gc_object_stats, gc_stats, 1) | 754 DEFINE_VALUE_IMPLICATION(track_gc_object_stats, gc_stats, 1) |
755 DEFINE_VALUE_IMPLICATION(trace_gc_object_stats, gc_stats, 1) | 755 DEFINE_VALUE_IMPLICATION(trace_gc_object_stats, gc_stats, 1) |
756 DEFINE_NEG_IMPLICATION(trace_gc_object_stats, incremental_marking) | 756 DEFINE_NEG_IMPLICATION(trace_gc_object_stats, incremental_marking) |
757 DEFINE_BOOL(track_detached_contexts, true, | 757 DEFINE_BOOL(track_detached_contexts, true, |
758 "track native contexts that are expected to be garbage collected") | 758 "track native contexts that are expected to be garbage collected") |
759 DEFINE_BOOL(trace_detached_contexts, false, | 759 DEFINE_BOOL(trace_detached_contexts, false, |
760 "trace native contexts that are expected to be garbage collected") | 760 "trace native contexts that are expected to be garbage collected") |
761 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts) | 761 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts) |
762 #ifdef VERIFY_HEAP | 762 #ifdef VERIFY_HEAP |
763 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") | 763 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") |
| 764 DEFINE_BOOL(verify_minor_mc_marking, false, |
| 765 "verify marking of minor_mc using the Scavenger") |
| 766 DEFINE_NEG_IMPLICATION(verify_minor_mc_marking, incremental_marking) |
764 #endif | 767 #endif |
765 DEFINE_BOOL(move_object_start, true, "enable moving of object starts") | 768 DEFINE_BOOL(move_object_start, true, "enable moving of object starts") |
766 DEFINE_BOOL(memory_reducer, true, "use memory reducer") | 769 DEFINE_BOOL(memory_reducer, true, "use memory reducer") |
767 DEFINE_INT(heap_growing_percent, 0, | 770 DEFINE_INT(heap_growing_percent, 0, |
768 "specifies heap growing factor as (1 + heap_growing_percent/100)") | 771 "specifies heap growing factor as (1 + heap_growing_percent/100)") |
769 | 772 |
770 // execution.cc, messages.cc | 773 // execution.cc, messages.cc |
771 DEFINE_BOOL(clear_exceptions_on_js_entry, false, | 774 DEFINE_BOOL(clear_exceptions_on_js_entry, false, |
772 "clear pending exceptions when entering JavaScript") | 775 "clear pending exceptions when entering JavaScript") |
773 | 776 |
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1227 #undef DEFINE_ALIAS_FLOAT | 1230 #undef DEFINE_ALIAS_FLOAT |
1228 #undef DEFINE_ALIAS_ARGS | 1231 #undef DEFINE_ALIAS_ARGS |
1229 | 1232 |
1230 #undef FLAG_MODE_DECLARE | 1233 #undef FLAG_MODE_DECLARE |
1231 #undef FLAG_MODE_DEFINE | 1234 #undef FLAG_MODE_DEFINE |
1232 #undef FLAG_MODE_DEFINE_DEFAULTS | 1235 #undef FLAG_MODE_DEFINE_DEFAULTS |
1233 #undef FLAG_MODE_META | 1236 #undef FLAG_MODE_META |
1234 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1237 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1235 | 1238 |
1236 #undef COMMA | 1239 #undef COMMA |
OLD | NEW |