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