| 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 711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 722 DEFINE_BOOL(weak_embedded_maps_in_optimized_code, true, | 722 DEFINE_BOOL(weak_embedded_maps_in_optimized_code, true, |
| 723 "make maps embedded in optimized code weak") | 723 "make maps embedded in optimized code weak") |
| 724 DEFINE_BOOL(weak_embedded_objects_in_optimized_code, true, | 724 DEFINE_BOOL(weak_embedded_objects_in_optimized_code, true, |
| 725 "make objects embedded in optimized code weak") | 725 "make objects embedded in optimized code weak") |
| 726 DEFINE_BOOL(flush_code, true, "flush code that we expect not to use again") | 726 DEFINE_BOOL(flush_code, true, "flush code that we expect not to use again") |
| 727 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") | 727 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") |
| 728 DEFINE_BOOL(age_code, true, | 728 DEFINE_BOOL(age_code, true, |
| 729 "track un-executed functions to age code and flush only " | 729 "track un-executed functions to age code and flush only " |
| 730 "old code (required for code flushing)") | 730 "old code (required for code flushing)") |
| 731 DEFINE_BOOL(incremental_marking, true, "use incremental marking") | 731 DEFINE_BOOL(incremental_marking, true, "use incremental marking") |
| 732 DEFINE_BOOL(incremental_marking_wrappers, false, | 732 DEFINE_BOOL(incremental_marking_wrappers, true, |
| 733 "use incremental marking for marking wrappers") | 733 "use incremental marking for marking wrappers") |
| 734 DEFINE_INT(min_progress_during_incremental_marking_finalization, 32, | 734 DEFINE_INT(min_progress_during_incremental_marking_finalization, 32, |
| 735 "keep finalizing incremental marking as long as we discover at " | 735 "keep finalizing incremental marking as long as we discover at " |
| 736 "least this many unmarked objects") | 736 "least this many unmarked objects") |
| 737 DEFINE_INT(max_incremental_marking_finalization_rounds, 3, | 737 DEFINE_INT(max_incremental_marking_finalization_rounds, 3, |
| 738 "at most try this many times to finalize incremental marking") | 738 "at most try this many times to finalize incremental marking") |
| 739 DEFINE_BOOL(minor_mc, false, "perform young generation mark compact GCs") | 739 DEFINE_BOOL(minor_mc, false, "perform young generation mark compact GCs") |
| 740 DEFINE_NEG_IMPLICATION(minor_mc, incremental_marking) | 740 DEFINE_NEG_IMPLICATION(minor_mc, incremental_marking) |
| 741 DEFINE_BOOL(black_allocation, false, "use black allocation") | 741 DEFINE_BOOL(black_allocation, false, "use black allocation") |
| 742 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") | 742 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") |
| (...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1227 #undef DEFINE_ALIAS_FLOAT | 1227 #undef DEFINE_ALIAS_FLOAT |
| 1228 #undef DEFINE_ALIAS_ARGS | 1228 #undef DEFINE_ALIAS_ARGS |
| 1229 | 1229 |
| 1230 #undef FLAG_MODE_DECLARE | 1230 #undef FLAG_MODE_DECLARE |
| 1231 #undef FLAG_MODE_DEFINE | 1231 #undef FLAG_MODE_DEFINE |
| 1232 #undef FLAG_MODE_DEFINE_DEFAULTS | 1232 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1233 #undef FLAG_MODE_META | 1233 #undef FLAG_MODE_META |
| 1234 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1234 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1235 | 1235 |
| 1236 #undef COMMA | 1236 #undef COMMA |
| OLD | NEW |