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