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 651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
662 DEFINE_BOOL(trace_mutator_utilization, false, | 662 DEFINE_BOOL(trace_mutator_utilization, false, |
663 "print mutator utilization, allocation speed, gc speed") | 663 "print mutator utilization, allocation speed, gc speed") |
664 DEFINE_BOOL(flush_code, true, "flush code that we expect not to use again") | 664 DEFINE_BOOL(flush_code, true, "flush code that we expect not to use again") |
665 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") | 665 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") |
666 DEFINE_BOOL(age_code, true, | 666 DEFINE_BOOL(age_code, true, |
667 "track un-executed functions to age code and flush only " | 667 "track un-executed functions to age code and flush only " |
668 "old code (required for code flushing)") | 668 "old code (required for code flushing)") |
669 DEFINE_BOOL(incremental_marking, true, "use incremental marking") | 669 DEFINE_BOOL(incremental_marking, true, "use incremental marking") |
670 DEFINE_BOOL(incremental_marking_wrappers, true, | 670 DEFINE_BOOL(incremental_marking_wrappers, true, |
671 "use incremental marking for marking wrappers") | 671 "use incremental marking for marking wrappers") |
672 DEFINE_BOOL(concurrent_marking, V8_CONCURRENT_MARKING, "use concurrent marking") | 672 DEFINE_BOOL(concurrent_marking, false, "use concurrent marking") |
Michael Achenbach
2017/05/17 14:14:44
why not keep it on by default, like e.g. line 452?
ulan
2017/05/17 14:34:47
Good idea. Done.
| |
673 DEFINE_BOOL(trace_concurrent_marking, false, "trace concurrent marking") | 673 DEFINE_BOOL(trace_concurrent_marking, false, "trace concurrent marking") |
674 DEFINE_BOOL(minor_mc_parallel_marking, true, | 674 DEFINE_BOOL(minor_mc_parallel_marking, true, |
675 "use parallel marking for the young generation") | 675 "use parallel marking for the young generation") |
676 DEFINE_BOOL(trace_minor_mc_parallel_marking, false, | 676 DEFINE_BOOL(trace_minor_mc_parallel_marking, false, |
677 "trace parallel marking for the young generation") | 677 "trace parallel marking for the young generation") |
678 DEFINE_INT(min_progress_during_incremental_marking_finalization, 32, | 678 DEFINE_INT(min_progress_during_incremental_marking_finalization, 32, |
679 "keep finalizing incremental marking as long as we discover at " | 679 "keep finalizing incremental marking as long as we discover at " |
680 "least this many unmarked objects") | 680 "least this many unmarked objects") |
681 DEFINE_INT(max_incremental_marking_finalization_rounds, 3, | 681 DEFINE_INT(max_incremental_marking_finalization_rounds, 3, |
682 "at most try this many times to finalize incremental marking") | 682 "at most try this many times to finalize incremental marking") |
(...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1359 #undef DEFINE_ALIAS_FLOAT | 1359 #undef DEFINE_ALIAS_FLOAT |
1360 #undef DEFINE_ALIAS_ARGS | 1360 #undef DEFINE_ALIAS_ARGS |
1361 | 1361 |
1362 #undef FLAG_MODE_DECLARE | 1362 #undef FLAG_MODE_DECLARE |
1363 #undef FLAG_MODE_DEFINE | 1363 #undef FLAG_MODE_DEFINE |
1364 #undef FLAG_MODE_DEFINE_DEFAULTS | 1364 #undef FLAG_MODE_DEFINE_DEFAULTS |
1365 #undef FLAG_MODE_META | 1365 #undef FLAG_MODE_META |
1366 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1366 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1367 | 1367 |
1368 #undef COMMA | 1368 #undef COMMA |
OLD | NEW |