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 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
747 DEFINE_BOOL(track_detached_contexts, true, | 747 DEFINE_BOOL(track_detached_contexts, true, |
748 "track native contexts that are expected to be garbage collected") | 748 "track native contexts that are expected to be garbage collected") |
749 DEFINE_BOOL(trace_detached_contexts, false, | 749 DEFINE_BOOL(trace_detached_contexts, false, |
750 "trace native contexts that are expected to be garbage collected") | 750 "trace native contexts that are expected to be garbage collected") |
751 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts) | 751 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts) |
752 #ifdef VERIFY_HEAP | 752 #ifdef VERIFY_HEAP |
753 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") | 753 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") |
754 #endif | 754 #endif |
755 DEFINE_BOOL(move_object_start, true, "enable moving of object starts") | 755 DEFINE_BOOL(move_object_start, true, "enable moving of object starts") |
756 DEFINE_BOOL(memory_reducer, true, "use memory reducer") | 756 DEFINE_BOOL(memory_reducer, true, "use memory reducer") |
757 DEFINE_BOOL(scavenge_reclaim_unmodified_objects, true, | |
758 "remove unmodified and unreferenced objects") | |
759 DEFINE_INT(heap_growing_percent, 0, | 757 DEFINE_INT(heap_growing_percent, 0, |
760 "specifies heap growing factor as (1 + heap_growing_percent/100)") | 758 "specifies heap growing factor as (1 + heap_growing_percent/100)") |
761 | 759 |
762 // execution.cc, messages.cc | 760 // execution.cc, messages.cc |
763 DEFINE_BOOL(clear_exceptions_on_js_entry, false, | 761 DEFINE_BOOL(clear_exceptions_on_js_entry, false, |
764 "clear pending exceptions when entering JavaScript") | 762 "clear pending exceptions when entering JavaScript") |
765 | 763 |
766 // counters.cc | 764 // counters.cc |
767 DEFINE_INT(histogram_interval, 600000, | 765 DEFINE_INT(histogram_interval, 600000, |
768 "time interval in ms for aggregating memory histograms") | 766 "time interval in ms for aggregating memory histograms") |
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1221 #undef DEFINE_ALIAS_FLOAT | 1219 #undef DEFINE_ALIAS_FLOAT |
1222 #undef DEFINE_ALIAS_ARGS | 1220 #undef DEFINE_ALIAS_ARGS |
1223 | 1221 |
1224 #undef FLAG_MODE_DECLARE | 1222 #undef FLAG_MODE_DECLARE |
1225 #undef FLAG_MODE_DEFINE | 1223 #undef FLAG_MODE_DEFINE |
1226 #undef FLAG_MODE_DEFINE_DEFAULTS | 1224 #undef FLAG_MODE_DEFINE_DEFAULTS |
1227 #undef FLAG_MODE_META | 1225 #undef FLAG_MODE_META |
1228 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1226 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1229 | 1227 |
1230 #undef COMMA | 1228 #undef COMMA |
OLD | NEW |