| 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 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 695 "track un-executed functions to age code and flush only " | 695 "track un-executed functions to age code and flush only " |
| 696 "old code (required for code flushing)") | 696 "old code (required for code flushing)") |
| 697 DEFINE_BOOL(incremental_marking, true, "use incremental marking") | 697 DEFINE_BOOL(incremental_marking, true, "use incremental marking") |
| 698 DEFINE_INT(min_progress_during_incremental_marking_finalization, 32, | 698 DEFINE_INT(min_progress_during_incremental_marking_finalization, 32, |
| 699 "keep finalizing incremental marking as long as we discover at " | 699 "keep finalizing incremental marking as long as we discover at " |
| 700 "least this many unmarked objects") | 700 "least this many unmarked objects") |
| 701 DEFINE_INT(max_incremental_marking_finalization_rounds, 3, | 701 DEFINE_INT(max_incremental_marking_finalization_rounds, 3, |
| 702 "at most try this many times to finalize incremental marking") | 702 "at most try this many times to finalize incremental marking") |
| 703 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") | 703 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") |
| 704 DEFINE_BOOL(parallel_compaction, true, "use parallel compaction") | 704 DEFINE_BOOL(parallel_compaction, true, "use parallel compaction") |
| 705 DEFINE_BOOL(parallel_pointer_update, false, |
| 706 "use parallel pointer update during compaction") |
| 705 DEFINE_BOOL(trace_incremental_marking, false, | 707 DEFINE_BOOL(trace_incremental_marking, false, |
| 706 "trace progress of the incremental marking") | 708 "trace progress of the incremental marking") |
| 707 DEFINE_BOOL(track_gc_object_stats, false, | 709 DEFINE_BOOL(track_gc_object_stats, false, |
| 708 "track object counts and memory usage") | 710 "track object counts and memory usage") |
| 709 DEFINE_BOOL(trace_gc_object_stats, false, | 711 DEFINE_BOOL(trace_gc_object_stats, false, |
| 710 "trace object counts and memory usage") | 712 "trace object counts and memory usage") |
| 711 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats) | 713 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats) |
| 712 DEFINE_BOOL(track_detached_contexts, true, | 714 DEFINE_BOOL(track_detached_contexts, true, |
| 713 "track native contexts that are expected to be garbage collected") | 715 "track native contexts that are expected to be garbage collected") |
| 714 DEFINE_BOOL(trace_detached_contexts, false, | 716 DEFINE_BOOL(trace_detached_contexts, false, |
| (...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1169 #undef DEFINE_ALIAS_FLOAT | 1171 #undef DEFINE_ALIAS_FLOAT |
| 1170 #undef DEFINE_ALIAS_ARGS | 1172 #undef DEFINE_ALIAS_ARGS |
| 1171 | 1173 |
| 1172 #undef FLAG_MODE_DECLARE | 1174 #undef FLAG_MODE_DECLARE |
| 1173 #undef FLAG_MODE_DEFINE | 1175 #undef FLAG_MODE_DEFINE |
| 1174 #undef FLAG_MODE_DEFINE_DEFAULTS | 1176 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1175 #undef FLAG_MODE_META | 1177 #undef FLAG_MODE_META |
| 1176 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1178 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1177 | 1179 |
| 1178 #undef COMMA | 1180 #undef COMMA |
| OLD | NEW |