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 596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
607 DEFINE_BOOL(flush_code, true, | 607 DEFINE_BOOL(flush_code, true, |
608 "flush code that we expect not to use again (during full gc)") | 608 "flush code that we expect not to use again (during full gc)") |
609 DEFINE_BOOL(flush_code_incrementally, true, | 609 DEFINE_BOOL(flush_code_incrementally, true, |
610 "flush code that we expect not to use again (incrementally)") | 610 "flush code that we expect not to use again (incrementally)") |
611 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") | 611 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") |
612 DEFINE_BOOL(age_code, true, | 612 DEFINE_BOOL(age_code, true, |
613 "track un-executed functions to age code and flush only " | 613 "track un-executed functions to age code and flush only " |
614 "old code (required for code flushing)") | 614 "old code (required for code flushing)") |
615 DEFINE_BOOL(incremental_marking, true, "use incremental marking") | 615 DEFINE_BOOL(incremental_marking, true, "use incremental marking") |
616 DEFINE_BOOL(incremental_marking_steps, true, "do incremental marking steps") | 616 DEFINE_BOOL(incremental_marking_steps, true, "do incremental marking steps") |
617 DEFINE_BOOL(overapproximate_weak_closure, false, | 617 DEFINE_BOOL(overapproximate_weak_closure, true, |
618 "overapproximate weak closer to reduce atomic pause time") | 618 "overapproximate weak closer to reduce atomic pause time") |
619 DEFINE_INT(min_progress_during_object_groups_marking, 128, | 619 DEFINE_INT(min_progress_during_object_groups_marking, 128, |
620 "keep overapproximating the weak closure as long as we discover at " | 620 "keep overapproximating the weak closure as long as we discover at " |
621 "least this many unmarked objects") | 621 "least this many unmarked objects") |
622 DEFINE_INT(max_object_groups_marking_rounds, 3, | 622 DEFINE_INT(max_object_groups_marking_rounds, 3, |
623 "at most try this many times to over approximate the weak closure") | 623 "at most try this many times to over approximate the weak closure") |
624 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") | 624 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") |
625 DEFINE_BOOL(trace_incremental_marking, false, | 625 DEFINE_BOOL(trace_incremental_marking, false, |
626 "trace progress of the incremental marking") | 626 "trace progress of the incremental marking") |
627 DEFINE_BOOL(track_gc_object_stats, false, | 627 DEFINE_BOOL(track_gc_object_stats, false, |
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1043 #undef DEFINE_ALIAS_FLOAT | 1043 #undef DEFINE_ALIAS_FLOAT |
1044 #undef DEFINE_ALIAS_ARGS | 1044 #undef DEFINE_ALIAS_ARGS |
1045 | 1045 |
1046 #undef FLAG_MODE_DECLARE | 1046 #undef FLAG_MODE_DECLARE |
1047 #undef FLAG_MODE_DEFINE | 1047 #undef FLAG_MODE_DEFINE |
1048 #undef FLAG_MODE_DEFINE_DEFAULTS | 1048 #undef FLAG_MODE_DEFINE_DEFAULTS |
1049 #undef FLAG_MODE_META | 1049 #undef FLAG_MODE_META |
1050 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1050 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1051 | 1051 |
1052 #undef COMMA | 1052 #undef COMMA |
OLD | NEW |