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 692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
703 DEFINE_BOOL(track_detached_contexts, true, | 703 DEFINE_BOOL(track_detached_contexts, true, |
704 "track native contexts that are expected to be garbage collected") | 704 "track native contexts that are expected to be garbage collected") |
705 DEFINE_BOOL(trace_detached_contexts, false, | 705 DEFINE_BOOL(trace_detached_contexts, false, |
706 "trace native contexts that are expected to be garbage collected") | 706 "trace native contexts that are expected to be garbage collected") |
707 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts) | 707 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts) |
708 #ifdef VERIFY_HEAP | 708 #ifdef VERIFY_HEAP |
709 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") | 709 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") |
710 #endif | 710 #endif |
711 DEFINE_BOOL(move_object_start, true, "enable moving of object starts") | 711 DEFINE_BOOL(move_object_start, true, "enable moving of object starts") |
712 DEFINE_BOOL(memory_reducer, true, "use memory reducer") | 712 DEFINE_BOOL(memory_reducer, true, "use memory reducer") |
713 DEFINE_BOOL(scavenge_reclaim_unmodified_objects, false, | 713 DEFINE_BOOL(scavenge_reclaim_unmodified_objects, true, |
714 "remove unmodified and unreferenced objects") | 714 "remove unmodified and unreferenced objects") |
715 DEFINE_INT(heap_growing_percent, 0, | 715 DEFINE_INT(heap_growing_percent, 0, |
716 "specifies heap growing factor as (1 + heap_growing_percent/100)") | 716 "specifies heap growing factor as (1 + heap_growing_percent/100)") |
717 | 717 |
718 // counters.cc | 718 // counters.cc |
719 DEFINE_INT(histogram_interval, 600000, | 719 DEFINE_INT(histogram_interval, 600000, |
720 "time interval in ms for aggregating memory histograms") | 720 "time interval in ms for aggregating memory histograms") |
721 | 721 |
722 // global-handles.cc | 722 // global-handles.cc |
723 DEFINE_BOOL(trace_object_groups, false, | 723 DEFINE_BOOL(trace_object_groups, false, |
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1166 #undef DEFINE_ALIAS_FLOAT | 1166 #undef DEFINE_ALIAS_FLOAT |
1167 #undef DEFINE_ALIAS_ARGS | 1167 #undef DEFINE_ALIAS_ARGS |
1168 | 1168 |
1169 #undef FLAG_MODE_DECLARE | 1169 #undef FLAG_MODE_DECLARE |
1170 #undef FLAG_MODE_DEFINE | 1170 #undef FLAG_MODE_DEFINE |
1171 #undef FLAG_MODE_DEFINE_DEFAULTS | 1171 #undef FLAG_MODE_DEFINE_DEFAULTS |
1172 #undef FLAG_MODE_META | 1172 #undef FLAG_MODE_META |
1173 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1173 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1174 | 1174 |
1175 #undef COMMA | 1175 #undef COMMA |
OLD | NEW |