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 639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
650 DEFINE_BOOL(weak_embedded_objects_in_optimized_code, true, | 650 DEFINE_BOOL(weak_embedded_objects_in_optimized_code, true, |
651 "make objects embedded in optimized code weak") | 651 "make objects embedded in optimized code weak") |
652 DEFINE_BOOL(flush_code, true, "flush code that we expect not to use again") | 652 DEFINE_BOOL(flush_code, true, "flush code that we expect not to use again") |
653 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") | 653 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") |
654 DEFINE_BOOL(age_code, true, | 654 DEFINE_BOOL(age_code, true, |
655 "track un-executed functions to age code and flush only " | 655 "track un-executed functions to age code and flush only " |
656 "old code (required for code flushing)") | 656 "old code (required for code flushing)") |
657 DEFINE_BOOL(incremental_marking, true, "use incremental marking") | 657 DEFINE_BOOL(incremental_marking, true, "use incremental marking") |
658 DEFINE_BOOL(finalize_marking_incrementally, true, | 658 DEFINE_BOOL(finalize_marking_incrementally, true, |
659 "finalize marking in incremental steps") | 659 "finalize marking in incremental steps") |
660 DEFINE_INT(min_progress_during_incremental_marking_finalization, 128, | 660 DEFINE_INT(min_progress_during_incremental_marking_finalization, 32, |
661 "keep finalizing incremental marking as long as we discover at " | 661 "keep finalizing incremental marking as long as we discover at " |
662 "least this many unmarked objects") | 662 "least this many unmarked objects") |
663 DEFINE_INT(max_incremental_marking_finalization_rounds, 3, | 663 DEFINE_INT(max_incremental_marking_finalization_rounds, 3, |
664 "at most try this many times to finalize incremental marking") | 664 "at most try this many times to finalize incremental marking") |
665 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") | 665 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") |
666 DEFINE_BOOL(parallel_compaction, false, "use parallel compaction") | 666 DEFINE_BOOL(parallel_compaction, false, "use parallel compaction") |
667 DEFINE_BOOL(trace_incremental_marking, false, | 667 DEFINE_BOOL(trace_incremental_marking, false, |
668 "trace progress of the incremental marking") | 668 "trace progress of the incremental marking") |
669 DEFINE_BOOL(track_gc_object_stats, false, | 669 DEFINE_BOOL(track_gc_object_stats, false, |
670 "track object counts and memory usage") | 670 "track object counts and memory usage") |
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1108 #undef DEFINE_ALIAS_FLOAT | 1108 #undef DEFINE_ALIAS_FLOAT |
1109 #undef DEFINE_ALIAS_ARGS | 1109 #undef DEFINE_ALIAS_ARGS |
1110 | 1110 |
1111 #undef FLAG_MODE_DECLARE | 1111 #undef FLAG_MODE_DECLARE |
1112 #undef FLAG_MODE_DEFINE | 1112 #undef FLAG_MODE_DEFINE |
1113 #undef FLAG_MODE_DEFINE_DEFAULTS | 1113 #undef FLAG_MODE_DEFINE_DEFAULTS |
1114 #undef FLAG_MODE_META | 1114 #undef FLAG_MODE_META |
1115 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1115 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1116 | 1116 |
1117 #undef COMMA | 1117 #undef COMMA |
OLD | NEW |