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 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
697 "trace object counts and memory usage") | 697 "trace object counts and memory usage") |
698 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats) | 698 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats) |
699 DEFINE_BOOL(track_detached_contexts, true, | 699 DEFINE_BOOL(track_detached_contexts, true, |
700 "track native contexts that are expected to be garbage collected") | 700 "track native contexts that are expected to be garbage collected") |
701 DEFINE_BOOL(trace_detached_contexts, false, | 701 DEFINE_BOOL(trace_detached_contexts, false, |
702 "trace native contexts that are expected to be garbage collected") | 702 "trace native contexts that are expected to be garbage collected") |
703 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts) | 703 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts) |
704 #ifdef VERIFY_HEAP | 704 #ifdef VERIFY_HEAP |
705 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") | 705 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") |
706 #endif | 706 #endif |
707 DEFINE_BOOL(move_object_start, false, "enable moving of object starts") | 707 DEFINE_BOOL(move_object_start, true, "enable moving of object starts") |
708 DEFINE_BOOL(memory_reducer, true, "use memory reducer") | 708 DEFINE_BOOL(memory_reducer, true, "use memory reducer") |
709 DEFINE_BOOL(scavenge_reclaim_unmodified_objects, false, | 709 DEFINE_BOOL(scavenge_reclaim_unmodified_objects, false, |
710 "remove unmodified and unreferenced objects") | 710 "remove unmodified and unreferenced objects") |
711 DEFINE_INT(heap_growing_percent, 0, | 711 DEFINE_INT(heap_growing_percent, 0, |
712 "specifies heap growing factor as (1 + heap_growing_percent/100)") | 712 "specifies heap growing factor as (1 + heap_growing_percent/100)") |
713 | 713 |
714 // counters.cc | 714 // counters.cc |
715 DEFINE_INT(histogram_interval, 600000, | 715 DEFINE_INT(histogram_interval, 600000, |
716 "time interval in ms for aggregating memory histograms") | 716 "time interval in ms for aggregating memory histograms") |
717 | 717 |
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1135 #undef DEFINE_ALIAS_FLOAT | 1135 #undef DEFINE_ALIAS_FLOAT |
1136 #undef DEFINE_ALIAS_ARGS | 1136 #undef DEFINE_ALIAS_ARGS |
1137 | 1137 |
1138 #undef FLAG_MODE_DECLARE | 1138 #undef FLAG_MODE_DECLARE |
1139 #undef FLAG_MODE_DEFINE | 1139 #undef FLAG_MODE_DEFINE |
1140 #undef FLAG_MODE_DEFINE_DEFAULTS | 1140 #undef FLAG_MODE_DEFINE_DEFAULTS |
1141 #undef FLAG_MODE_META | 1141 #undef FLAG_MODE_META |
1142 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1142 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1143 | 1143 |
1144 #undef COMMA | 1144 #undef COMMA |
OLD | NEW |