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 595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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, false, |
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, |
| 617 "keep overapproximating the weak closure as long as we discover at " |
| 618 "least this many unmarked objects") |
616 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") | 619 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") |
617 DEFINE_BOOL(trace_incremental_marking, false, | 620 DEFINE_BOOL(trace_incremental_marking, false, |
618 "trace progress of the incremental marking") | 621 "trace progress of the incremental marking") |
619 DEFINE_BOOL(track_gc_object_stats, false, | 622 DEFINE_BOOL(track_gc_object_stats, false, |
620 "track object counts and memory usage") | 623 "track object counts and memory usage") |
621 DEFINE_BOOL(track_detached_contexts, true, | 624 DEFINE_BOOL(track_detached_contexts, true, |
622 "track native contexts that are expected to be garbage collected") | 625 "track native contexts that are expected to be garbage collected") |
623 DEFINE_BOOL(trace_detached_contexts, false, | 626 DEFINE_BOOL(trace_detached_contexts, false, |
624 "trace native contexts that are expected to be garbage collected") | 627 "trace native contexts that are expected to be garbage collected") |
625 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts) | 628 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts) |
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1033 #undef DEFINE_ALIAS_FLOAT | 1036 #undef DEFINE_ALIAS_FLOAT |
1034 #undef DEFINE_ALIAS_ARGS | 1037 #undef DEFINE_ALIAS_ARGS |
1035 | 1038 |
1036 #undef FLAG_MODE_DECLARE | 1039 #undef FLAG_MODE_DECLARE |
1037 #undef FLAG_MODE_DEFINE | 1040 #undef FLAG_MODE_DEFINE |
1038 #undef FLAG_MODE_DEFINE_DEFAULTS | 1041 #undef FLAG_MODE_DEFINE_DEFAULTS |
1039 #undef FLAG_MODE_META | 1042 #undef FLAG_MODE_META |
1040 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1043 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1041 | 1044 |
1042 #undef COMMA | 1045 #undef COMMA |
OLD | NEW |