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 672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
683 "trace object counts and memory usage") | 683 "trace object counts and memory usage") |
684 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats) | 684 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats) |
685 DEFINE_BOOL(track_detached_contexts, true, | 685 DEFINE_BOOL(track_detached_contexts, true, |
686 "track native contexts that are expected to be garbage collected") | 686 "track native contexts that are expected to be garbage collected") |
687 DEFINE_BOOL(trace_detached_contexts, false, | 687 DEFINE_BOOL(trace_detached_contexts, false, |
688 "trace native contexts that are expected to be garbage collected") | 688 "trace native contexts that are expected to be garbage collected") |
689 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts) | 689 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts) |
690 #ifdef VERIFY_HEAP | 690 #ifdef VERIFY_HEAP |
691 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") | 691 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") |
692 #endif | 692 #endif |
693 DEFINE_BOOL(move_object_start, false, "enable moving of object starts") | |
694 DEFINE_BOOL(memory_reducer, true, "use memory reducer") | 693 DEFINE_BOOL(memory_reducer, true, "use memory reducer") |
695 DEFINE_BOOL(scavenge_reclaim_unmodified_objects, false, | 694 DEFINE_BOOL(scavenge_reclaim_unmodified_objects, false, |
696 "remove unmodified and unreferenced objects") | 695 "remove unmodified and unreferenced objects") |
697 | 696 |
698 // counters.cc | 697 // counters.cc |
699 DEFINE_INT(histogram_interval, 600000, | 698 DEFINE_INT(histogram_interval, 600000, |
700 "time interval in ms for aggregating memory histograms") | 699 "time interval in ms for aggregating memory histograms") |
701 | 700 |
702 | 701 |
703 // heap-snapshot-generator.cc | 702 // heap-snapshot-generator.cc |
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1119 #undef DEFINE_ALIAS_FLOAT | 1118 #undef DEFINE_ALIAS_FLOAT |
1120 #undef DEFINE_ALIAS_ARGS | 1119 #undef DEFINE_ALIAS_ARGS |
1121 | 1120 |
1122 #undef FLAG_MODE_DECLARE | 1121 #undef FLAG_MODE_DECLARE |
1123 #undef FLAG_MODE_DEFINE | 1122 #undef FLAG_MODE_DEFINE |
1124 #undef FLAG_MODE_DEFINE_DEFAULTS | 1123 #undef FLAG_MODE_DEFINE_DEFAULTS |
1125 #undef FLAG_MODE_META | 1124 #undef FLAG_MODE_META |
1126 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1125 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1127 | 1126 |
1128 #undef COMMA | 1127 #undef COMMA |
OLD | NEW |