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 650 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
661 DEFINE_BOOL(trace_mutator_utilization, false, | 661 DEFINE_BOOL(trace_mutator_utilization, false, |
662 "print mutator utilization, allocation speed, gc speed") | 662 "print mutator utilization, allocation speed, gc speed") |
663 DEFINE_BOOL(flush_code, true, "flush code that we expect not to use again") | 663 DEFINE_BOOL(flush_code, true, "flush code that we expect not to use again") |
664 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") | 664 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") |
665 DEFINE_BOOL(age_code, true, | 665 DEFINE_BOOL(age_code, true, |
666 "track un-executed functions to age code and flush only " | 666 "track un-executed functions to age code and flush only " |
667 "old code (required for code flushing)") | 667 "old code (required for code flushing)") |
668 DEFINE_BOOL(incremental_marking, true, "use incremental marking") | 668 DEFINE_BOOL(incremental_marking, true, "use incremental marking") |
669 DEFINE_BOOL(incremental_marking_wrappers, true, | 669 DEFINE_BOOL(incremental_marking_wrappers, true, |
670 "use incremental marking for marking wrappers") | 670 "use incremental marking for marking wrappers") |
671 DEFINE_BOOL(concurrent_marking, false, "use concurrent marking") | 671 DEFINE_BOOL(concurrent_marking, V8_CONCURRENT_MARKING, "use concurrent marking") |
672 DEFINE_BOOL(trace_concurrent_marking, false, "trace concurrent marking") | 672 DEFINE_BOOL(trace_concurrent_marking, false, "trace concurrent marking") |
673 DEFINE_INT(min_progress_during_incremental_marking_finalization, 32, | 673 DEFINE_INT(min_progress_during_incremental_marking_finalization, 32, |
674 "keep finalizing incremental marking as long as we discover at " | 674 "keep finalizing incremental marking as long as we discover at " |
675 "least this many unmarked objects") | 675 "least this many unmarked objects") |
676 DEFINE_INT(max_incremental_marking_finalization_rounds, 3, | 676 DEFINE_INT(max_incremental_marking_finalization_rounds, 3, |
677 "at most try this many times to finalize incremental marking") | 677 "at most try this many times to finalize incremental marking") |
678 DEFINE_BOOL(minor_mc, false, "perform young generation mark compact GCs") | 678 DEFINE_BOOL(minor_mc, false, "perform young generation mark compact GCs") |
679 DEFINE_NEG_IMPLICATION(minor_mc, page_promotion) | 679 DEFINE_NEG_IMPLICATION(minor_mc, page_promotion) |
680 DEFINE_NEG_IMPLICATION(minor_mc, flush_code) | 680 DEFINE_NEG_IMPLICATION(minor_mc, flush_code) |
681 DEFINE_BOOL(black_allocation, true, "use black allocation") | 681 DEFINE_BOOL(black_allocation, true, "use black allocation") |
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1354 #undef DEFINE_ALIAS_FLOAT | 1354 #undef DEFINE_ALIAS_FLOAT |
1355 #undef DEFINE_ALIAS_ARGS | 1355 #undef DEFINE_ALIAS_ARGS |
1356 | 1356 |
1357 #undef FLAG_MODE_DECLARE | 1357 #undef FLAG_MODE_DECLARE |
1358 #undef FLAG_MODE_DEFINE | 1358 #undef FLAG_MODE_DEFINE |
1359 #undef FLAG_MODE_DEFINE_DEFAULTS | 1359 #undef FLAG_MODE_DEFINE_DEFAULTS |
1360 #undef FLAG_MODE_META | 1360 #undef FLAG_MODE_META |
1361 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1361 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1362 | 1362 |
1363 #undef COMMA | 1363 #undef COMMA |
OLD | NEW |