| 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 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 673 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats) | 673 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats) |
| 674 DEFINE_BOOL(track_detached_contexts, true, | 674 DEFINE_BOOL(track_detached_contexts, true, |
| 675 "track native contexts that are expected to be garbage collected") | 675 "track native contexts that are expected to be garbage collected") |
| 676 DEFINE_BOOL(trace_detached_contexts, false, | 676 DEFINE_BOOL(trace_detached_contexts, false, |
| 677 "trace native contexts that are expected to be garbage collected") | 677 "trace native contexts that are expected to be garbage collected") |
| 678 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts) | 678 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts) |
| 679 #ifdef VERIFY_HEAP | 679 #ifdef VERIFY_HEAP |
| 680 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") | 680 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") |
| 681 #endif | 681 #endif |
| 682 DEFINE_BOOL(move_object_start, false, "enable moving of object starts") | 682 DEFINE_BOOL(move_object_start, false, "enable moving of object starts") |
| 683 DEFINE_BOOL(scavenge_remove_unmodified_objects, false, |
| 684 "remove unmodified and unreferenced objects") |
| 683 | 685 |
| 684 // counters.cc | 686 // counters.cc |
| 685 DEFINE_INT(histogram_interval, 600000, | 687 DEFINE_INT(histogram_interval, 600000, |
| 686 "time interval in ms for aggregating memory histograms") | 688 "time interval in ms for aggregating memory histograms") |
| 687 | 689 |
| 688 | 690 |
| 689 // heap-snapshot-generator.cc | 691 // heap-snapshot-generator.cc |
| 690 DEFINE_BOOL(heap_profiler_trace_objects, false, | 692 DEFINE_BOOL(heap_profiler_trace_objects, false, |
| 691 "Dump heap object allocations/movements/size_updates") | 693 "Dump heap object allocations/movements/size_updates") |
| 692 | 694 |
| (...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1104 #undef DEFINE_ALIAS_FLOAT | 1106 #undef DEFINE_ALIAS_FLOAT |
| 1105 #undef DEFINE_ALIAS_ARGS | 1107 #undef DEFINE_ALIAS_ARGS |
| 1106 | 1108 |
| 1107 #undef FLAG_MODE_DECLARE | 1109 #undef FLAG_MODE_DECLARE |
| 1108 #undef FLAG_MODE_DEFINE | 1110 #undef FLAG_MODE_DEFINE |
| 1109 #undef FLAG_MODE_DEFINE_DEFAULTS | 1111 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1110 #undef FLAG_MODE_META | 1112 #undef FLAG_MODE_META |
| 1111 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1113 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1112 | 1114 |
| 1113 #undef COMMA | 1115 #undef COMMA |
| OLD | NEW |