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 656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
667 "trace object counts and memory usage") | 667 "trace object counts and memory usage") |
668 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats) | 668 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats) |
669 DEFINE_BOOL(track_detached_contexts, true, | 669 DEFINE_BOOL(track_detached_contexts, true, |
670 "track native contexts that are expected to be garbage collected") | 670 "track native contexts that are expected to be garbage collected") |
671 DEFINE_BOOL(trace_detached_contexts, false, | 671 DEFINE_BOOL(trace_detached_contexts, false, |
672 "trace native contexts that are expected to be garbage collected") | 672 "trace native contexts that are expected to be garbage collected") |
673 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts) | 673 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts) |
674 #ifdef VERIFY_HEAP | 674 #ifdef VERIFY_HEAP |
675 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") | 675 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") |
676 #endif | 676 #endif |
| 677 DEFINE_BOOL(move_object_start, false, "enable moving of object starts") |
677 | 678 |
678 // counters.cc | 679 // counters.cc |
679 DEFINE_INT(histogram_interval, 600000, | 680 DEFINE_INT(histogram_interval, 600000, |
680 "time interval in ms for aggregating memory histograms") | 681 "time interval in ms for aggregating memory histograms") |
681 | 682 |
682 | 683 |
683 // heap-snapshot-generator.cc | 684 // heap-snapshot-generator.cc |
684 DEFINE_BOOL(heap_profiler_trace_objects, false, | 685 DEFINE_BOOL(heap_profiler_trace_objects, false, |
685 "Dump heap object allocations/movements/size_updates") | 686 "Dump heap object allocations/movements/size_updates") |
686 | 687 |
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1095 #undef DEFINE_ALIAS_FLOAT | 1096 #undef DEFINE_ALIAS_FLOAT |
1096 #undef DEFINE_ALIAS_ARGS | 1097 #undef DEFINE_ALIAS_ARGS |
1097 | 1098 |
1098 #undef FLAG_MODE_DECLARE | 1099 #undef FLAG_MODE_DECLARE |
1099 #undef FLAG_MODE_DEFINE | 1100 #undef FLAG_MODE_DEFINE |
1100 #undef FLAG_MODE_DEFINE_DEFAULTS | 1101 #undef FLAG_MODE_DEFINE_DEFAULTS |
1101 #undef FLAG_MODE_META | 1102 #undef FLAG_MODE_META |
1102 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1103 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1103 | 1104 |
1104 #undef COMMA | 1105 #undef COMMA |
OLD | NEW |