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 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
608 "print more details following each garbage collection") | 608 "print more details following each garbage collection") |
609 DEFINE_INT(trace_allocation_stack_interval, -1, | 609 DEFINE_INT(trace_allocation_stack_interval, -1, |
610 "print stack trace after <n> free-list allocations") | 610 "print stack trace after <n> free-list allocations") |
611 DEFINE_BOOL(trace_fragmentation, false, "report fragmentation for old space") | 611 DEFINE_BOOL(trace_fragmentation, false, "report fragmentation for old space") |
612 DEFINE_BOOL(trace_fragmentation_verbose, false, | 612 DEFINE_BOOL(trace_fragmentation_verbose, false, |
613 "report fragmentation for old space (detailed)") | 613 "report fragmentation for old space (detailed)") |
614 DEFINE_BOOL(weak_embedded_maps_in_optimized_code, true, | 614 DEFINE_BOOL(weak_embedded_maps_in_optimized_code, true, |
615 "make maps embedded in optimized code weak") | 615 "make maps embedded in optimized code weak") |
616 DEFINE_BOOL(weak_embedded_objects_in_optimized_code, true, | 616 DEFINE_BOOL(weak_embedded_objects_in_optimized_code, true, |
617 "make objects embedded in optimized code weak") | 617 "make objects embedded in optimized code weak") |
618 DEFINE_BOOL(flush_code, true, | 618 DEFINE_BOOL(flush_code, true, "flush code that we expect not to use again") |
619 "flush code that we expect not to use again (during full gc)") | |
620 DEFINE_BOOL(flush_code_incrementally, true, | |
621 "flush code that we expect not to use again (incrementally)") | |
622 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") | 619 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") |
623 DEFINE_BOOL(age_code, true, | 620 DEFINE_BOOL(age_code, true, |
624 "track un-executed functions to age code and flush only " | 621 "track un-executed functions to age code and flush only " |
625 "old code (required for code flushing)") | 622 "old code (required for code flushing)") |
626 DEFINE_BOOL(incremental_marking, true, "use incremental marking") | 623 DEFINE_BOOL(incremental_marking, true, "use incremental marking") |
627 DEFINE_BOOL(incremental_marking_steps, true, "do incremental marking steps") | 624 DEFINE_BOOL(incremental_marking_steps, true, "do incremental marking steps") |
628 DEFINE_BOOL(overapproximate_weak_closure, true, | 625 DEFINE_BOOL(overapproximate_weak_closure, true, |
629 "overapproximate weak closer to reduce atomic pause time") | 626 "overapproximate weak closer to reduce atomic pause time") |
630 DEFINE_INT(min_progress_during_object_groups_marking, 128, | 627 DEFINE_INT(min_progress_during_object_groups_marking, 128, |
631 "keep overapproximating the weak closure as long as we discover at " | 628 "keep overapproximating the weak closure as long as we discover at " |
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1066 #undef DEFINE_ALIAS_FLOAT | 1063 #undef DEFINE_ALIAS_FLOAT |
1067 #undef DEFINE_ALIAS_ARGS | 1064 #undef DEFINE_ALIAS_ARGS |
1068 | 1065 |
1069 #undef FLAG_MODE_DECLARE | 1066 #undef FLAG_MODE_DECLARE |
1070 #undef FLAG_MODE_DEFINE | 1067 #undef FLAG_MODE_DEFINE |
1071 #undef FLAG_MODE_DEFINE_DEFAULTS | 1068 #undef FLAG_MODE_DEFINE_DEFAULTS |
1072 #undef FLAG_MODE_META | 1069 #undef FLAG_MODE_META |
1073 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1070 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1074 | 1071 |
1075 #undef COMMA | 1072 #undef COMMA |
OLD | NEW |