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 640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
651 DEFINE_BOOL(weak_embedded_maps_in_optimized_code, true, | 651 DEFINE_BOOL(weak_embedded_maps_in_optimized_code, true, |
652 "make maps embedded in optimized code weak") | 652 "make maps embedded in optimized code weak") |
653 DEFINE_BOOL(weak_embedded_objects_in_optimized_code, true, | 653 DEFINE_BOOL(weak_embedded_objects_in_optimized_code, true, |
654 "make objects embedded in optimized code weak") | 654 "make objects embedded in optimized code weak") |
655 DEFINE_BOOL(flush_code, true, "flush code that we expect not to use again") | 655 DEFINE_BOOL(flush_code, true, "flush code that we expect not to use again") |
656 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") | 656 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") |
657 DEFINE_BOOL(age_code, true, | 657 DEFINE_BOOL(age_code, true, |
658 "track un-executed functions to age code and flush only " | 658 "track un-executed functions to age code and flush only " |
659 "old code (required for code flushing)") | 659 "old code (required for code flushing)") |
660 DEFINE_BOOL(incremental_marking, true, "use incremental marking") | 660 DEFINE_BOOL(incremental_marking, true, "use incremental marking") |
661 DEFINE_BOOL(overapproximate_weak_closure, true, | 661 DEFINE_BOOL(finalize_marking_incrementally, true, |
662 "overapproximate weak closure to reduce atomic pause time") | 662 "finalize marking in incremental steps") |
663 DEFINE_INT(min_progress_during_object_groups_marking, 128, | 663 DEFINE_INT(min_progress_during_incremental_marking_finalization, 128, |
664 "keep overapproximating the weak closure as long as we discover at " | 664 "keep finalizing incremental marking as long as we discover at " |
665 "least this many unmarked objects") | 665 "least this many unmarked objects") |
666 DEFINE_INT(max_object_groups_marking_rounds, 3, | 666 DEFINE_INT(max_incremental_marking_finalization_rounds, 3, |
667 "at most try this many times to over approximate the weak closure") | 667 "at most try this many times to finalize incremental marking") |
668 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") | 668 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") |
669 DEFINE_BOOL(parallel_compaction, false, "use parallel compaction") | 669 DEFINE_BOOL(parallel_compaction, false, "use parallel compaction") |
670 DEFINE_BOOL(trace_incremental_marking, false, | 670 DEFINE_BOOL(trace_incremental_marking, false, |
671 "trace progress of the incremental marking") | 671 "trace progress of the incremental marking") |
672 DEFINE_BOOL(track_gc_object_stats, false, | 672 DEFINE_BOOL(track_gc_object_stats, false, |
673 "track object counts and memory usage") | 673 "track object counts and memory usage") |
674 DEFINE_BOOL(trace_gc_object_stats, false, | 674 DEFINE_BOOL(trace_gc_object_stats, false, |
675 "trace object counts and memory usage") | 675 "trace object counts and memory usage") |
676 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats) | 676 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats) |
677 DEFINE_BOOL(track_detached_contexts, true, | 677 DEFINE_BOOL(track_detached_contexts, true, |
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1111 #undef DEFINE_ALIAS_FLOAT | 1111 #undef DEFINE_ALIAS_FLOAT |
1112 #undef DEFINE_ALIAS_ARGS | 1112 #undef DEFINE_ALIAS_ARGS |
1113 | 1113 |
1114 #undef FLAG_MODE_DECLARE | 1114 #undef FLAG_MODE_DECLARE |
1115 #undef FLAG_MODE_DEFINE | 1115 #undef FLAG_MODE_DEFINE |
1116 #undef FLAG_MODE_DEFINE_DEFAULTS | 1116 #undef FLAG_MODE_DEFINE_DEFAULTS |
1117 #undef FLAG_MODE_META | 1117 #undef FLAG_MODE_META |
1118 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1118 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1119 | 1119 |
1120 #undef COMMA | 1120 #undef COMMA |
OLD | NEW |