| 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 749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 760 #ifdef VERIFY_HEAP | 760 #ifdef VERIFY_HEAP |
| 761 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") | 761 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") |
| 762 #endif | 762 #endif |
| 763 DEFINE_BOOL(move_object_start, true, "enable moving of object starts") | 763 DEFINE_BOOL(move_object_start, true, "enable moving of object starts") |
| 764 DEFINE_BOOL(memory_reducer, true, "use memory reducer") | 764 DEFINE_BOOL(memory_reducer, true, "use memory reducer") |
| 765 DEFINE_BOOL(scavenge_reclaim_unmodified_objects, true, | 765 DEFINE_BOOL(scavenge_reclaim_unmodified_objects, true, |
| 766 "remove unmodified and unreferenced objects") | 766 "remove unmodified and unreferenced objects") |
| 767 DEFINE_INT(heap_growing_percent, 0, | 767 DEFINE_INT(heap_growing_percent, 0, |
| 768 "specifies heap growing factor as (1 + heap_growing_percent/100)") | 768 "specifies heap growing factor as (1 + heap_growing_percent/100)") |
| 769 | 769 |
| 770 // execution.cc, messages.cc |
| 771 DEFINE_BOOL(clear_exceptions_on_js_entry, true, |
| 772 "clear pending exceptions when entering JavaScript") |
| 773 |
| 770 // counters.cc | 774 // counters.cc |
| 771 DEFINE_INT(histogram_interval, 600000, | 775 DEFINE_INT(histogram_interval, 600000, |
| 772 "time interval in ms for aggregating memory histograms") | 776 "time interval in ms for aggregating memory histograms") |
| 773 | 777 |
| 774 // global-handles.cc | 778 // global-handles.cc |
| 775 DEFINE_BOOL(trace_object_groups, false, | 779 DEFINE_BOOL(trace_object_groups, false, |
| 776 "print object groups detected during each garbage collection") | 780 "print object groups detected during each garbage collection") |
| 777 | 781 |
| 778 // heap-snapshot-generator.cc | 782 // heap-snapshot-generator.cc |
| 779 DEFINE_BOOL(heap_profiler_trace_objects, false, | 783 DEFINE_BOOL(heap_profiler_trace_objects, false, |
| (...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1205 #undef DEFINE_ALIAS_FLOAT | 1209 #undef DEFINE_ALIAS_FLOAT |
| 1206 #undef DEFINE_ALIAS_ARGS | 1210 #undef DEFINE_ALIAS_ARGS |
| 1207 | 1211 |
| 1208 #undef FLAG_MODE_DECLARE | 1212 #undef FLAG_MODE_DECLARE |
| 1209 #undef FLAG_MODE_DEFINE | 1213 #undef FLAG_MODE_DEFINE |
| 1210 #undef FLAG_MODE_DEFINE_DEFAULTS | 1214 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1211 #undef FLAG_MODE_META | 1215 #undef FLAG_MODE_META |
| 1212 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1216 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1213 | 1217 |
| 1214 #undef COMMA | 1218 #undef COMMA |
| OLD | NEW |