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 739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
750 DEFINE_BOOL(parallel_compaction, true, "use parallel compaction") | 750 DEFINE_BOOL(parallel_compaction, true, "use parallel compaction") |
751 DEFINE_BOOL(parallel_pointer_update, true, | 751 DEFINE_BOOL(parallel_pointer_update, true, |
752 "use parallel pointer update during compaction") | 752 "use parallel pointer update during compaction") |
753 DEFINE_BOOL(trace_incremental_marking, false, | 753 DEFINE_BOOL(trace_incremental_marking, false, |
754 "trace progress of the incremental marking") | 754 "trace progress of the incremental marking") |
755 DEFINE_BOOL(track_gc_object_stats, false, | 755 DEFINE_BOOL(track_gc_object_stats, false, |
756 "track object counts and memory usage") | 756 "track object counts and memory usage") |
757 DEFINE_BOOL(trace_gc_object_stats, false, | 757 DEFINE_BOOL(trace_gc_object_stats, false, |
758 "trace object counts and memory usage") | 758 "trace object counts and memory usage") |
759 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats) | 759 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats) |
| 760 DEFINE_NEG_IMPLICATION(trace_gc_object_stats, incremental_marking) |
760 DEFINE_BOOL(track_detached_contexts, true, | 761 DEFINE_BOOL(track_detached_contexts, true, |
761 "track native contexts that are expected to be garbage collected") | 762 "track native contexts that are expected to be garbage collected") |
762 DEFINE_BOOL(trace_detached_contexts, false, | 763 DEFINE_BOOL(trace_detached_contexts, false, |
763 "trace native contexts that are expected to be garbage collected") | 764 "trace native contexts that are expected to be garbage collected") |
764 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts) | 765 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts) |
765 #ifdef VERIFY_HEAP | 766 #ifdef VERIFY_HEAP |
766 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") | 767 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") |
767 #endif | 768 #endif |
768 DEFINE_BOOL(move_object_start, true, "enable moving of object starts") | 769 DEFINE_BOOL(move_object_start, true, "enable moving of object starts") |
769 DEFINE_BOOL(memory_reducer, true, "use memory reducer") | 770 DEFINE_BOOL(memory_reducer, true, "use memory reducer") |
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1214 #undef DEFINE_ALIAS_FLOAT | 1215 #undef DEFINE_ALIAS_FLOAT |
1215 #undef DEFINE_ALIAS_ARGS | 1216 #undef DEFINE_ALIAS_ARGS |
1216 | 1217 |
1217 #undef FLAG_MODE_DECLARE | 1218 #undef FLAG_MODE_DECLARE |
1218 #undef FLAG_MODE_DEFINE | 1219 #undef FLAG_MODE_DEFINE |
1219 #undef FLAG_MODE_DEFINE_DEFAULTS | 1220 #undef FLAG_MODE_DEFINE_DEFAULTS |
1220 #undef FLAG_MODE_META | 1221 #undef FLAG_MODE_META |
1221 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1222 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1222 | 1223 |
1223 #undef COMMA | 1224 #undef COMMA |
OLD | NEW |