| 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 711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 722 DEFINE_BOOL(memory_reducer, true, "use memory reducer") | 722 DEFINE_BOOL(memory_reducer, true, "use memory reducer") |
| 723 DEFINE_BOOL(scavenge_reclaim_unmodified_objects, false, | 723 DEFINE_BOOL(scavenge_reclaim_unmodified_objects, false, |
| 724 "remove unmodified and unreferenced objects") | 724 "remove unmodified and unreferenced objects") |
| 725 DEFINE_INT(heap_growing_percent, 0, | 725 DEFINE_INT(heap_growing_percent, 0, |
| 726 "specifies heap growing factor as (1 + heap_growing_percent/100)") | 726 "specifies heap growing factor as (1 + heap_growing_percent/100)") |
| 727 | 727 |
| 728 // counters.cc | 728 // counters.cc |
| 729 DEFINE_INT(histogram_interval, 600000, | 729 DEFINE_INT(histogram_interval, 600000, |
| 730 "time interval in ms for aggregating memory histograms") | 730 "time interval in ms for aggregating memory histograms") |
| 731 | 731 |
| 732 // global-handles.cc |
| 733 DEFINE_BOOL(trace_object_groups, false, |
| 734 "print object groups detected during each garbage collection") |
| 732 | 735 |
| 733 // heap-snapshot-generator.cc | 736 // heap-snapshot-generator.cc |
| 734 DEFINE_BOOL(heap_profiler_trace_objects, false, | 737 DEFINE_BOOL(heap_profiler_trace_objects, false, |
| 735 "Dump heap object allocations/movements/size_updates") | 738 "Dump heap object allocations/movements/size_updates") |
| 736 | 739 |
| 737 | 740 |
| 738 // sampling-heap-profiler.cc | 741 // sampling-heap-profiler.cc |
| 739 DEFINE_BOOL(sampling_heap_profiler_suppress_randomness, false, | 742 DEFINE_BOOL(sampling_heap_profiler_suppress_randomness, false, |
| 740 "Use constant sample intervals to eliminate test flakiness") | 743 "Use constant sample intervals to eliminate test flakiness") |
| 741 | 744 |
| (...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1168 #undef DEFINE_ALIAS_FLOAT | 1171 #undef DEFINE_ALIAS_FLOAT |
| 1169 #undef DEFINE_ALIAS_ARGS | 1172 #undef DEFINE_ALIAS_ARGS |
| 1170 | 1173 |
| 1171 #undef FLAG_MODE_DECLARE | 1174 #undef FLAG_MODE_DECLARE |
| 1172 #undef FLAG_MODE_DEFINE | 1175 #undef FLAG_MODE_DEFINE |
| 1173 #undef FLAG_MODE_DEFINE_DEFAULTS | 1176 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1174 #undef FLAG_MODE_META | 1177 #undef FLAG_MODE_META |
| 1175 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1178 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1176 | 1179 |
| 1177 #undef COMMA | 1180 #undef COMMA |
| OLD | NEW |