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 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
605 DEFINE_BOOL(print_max_heap_committed, false, | 605 DEFINE_BOOL(print_max_heap_committed, false, |
606 "print statistics of the maximum memory committed for the heap " | 606 "print statistics of the maximum memory committed for the heap " |
607 "in name=value format on exit") | 607 "in name=value format on exit") |
608 DEFINE_BOOL(trace_gc_verbose, false, | 608 DEFINE_BOOL(trace_gc_verbose, false, |
609 "print more details following each garbage collection") | 609 "print more details following each garbage collection") |
610 DEFINE_INT(trace_allocation_stack_interval, -1, | 610 DEFINE_INT(trace_allocation_stack_interval, -1, |
611 "print stack trace after <n> free-list allocations") | 611 "print stack trace after <n> free-list allocations") |
612 DEFINE_BOOL(trace_fragmentation, false, "report fragmentation for old space") | 612 DEFINE_BOOL(trace_fragmentation, false, "report fragmentation for old space") |
613 DEFINE_BOOL(trace_fragmentation_verbose, false, | 613 DEFINE_BOOL(trace_fragmentation_verbose, false, |
614 "report fragmentation for old space (detailed)") | 614 "report fragmentation for old space (detailed)") |
615 DEFINE_BOOL(collect_maps, true, | |
616 "garbage collect maps from which no objects can be reached") | |
617 DEFINE_BOOL(weak_embedded_maps_in_optimized_code, true, | 615 DEFINE_BOOL(weak_embedded_maps_in_optimized_code, true, |
618 "make maps embedded in optimized code weak") | 616 "make maps embedded in optimized code weak") |
619 DEFINE_BOOL(weak_embedded_objects_in_optimized_code, true, | 617 DEFINE_BOOL(weak_embedded_objects_in_optimized_code, true, |
620 "make objects embedded in optimized code weak") | 618 "make objects embedded in optimized code weak") |
621 DEFINE_BOOL(flush_code, true, | 619 DEFINE_BOOL(flush_code, true, |
622 "flush code that we expect not to use again (during full gc)") | 620 "flush code that we expect not to use again (during full gc)") |
623 DEFINE_BOOL(flush_code_incrementally, true, | 621 DEFINE_BOOL(flush_code_incrementally, true, |
624 "flush code that we expect not to use again (incrementally)") | 622 "flush code that we expect not to use again (incrementally)") |
625 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") | 623 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") |
626 DEFINE_BOOL(age_code, true, | 624 DEFINE_BOOL(age_code, true, |
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1069 #undef DEFINE_ALIAS_FLOAT | 1067 #undef DEFINE_ALIAS_FLOAT |
1070 #undef DEFINE_ALIAS_ARGS | 1068 #undef DEFINE_ALIAS_ARGS |
1071 | 1069 |
1072 #undef FLAG_MODE_DECLARE | 1070 #undef FLAG_MODE_DECLARE |
1073 #undef FLAG_MODE_DEFINE | 1071 #undef FLAG_MODE_DEFINE |
1074 #undef FLAG_MODE_DEFINE_DEFAULTS | 1072 #undef FLAG_MODE_DEFINE_DEFAULTS |
1075 #undef FLAG_MODE_META | 1073 #undef FLAG_MODE_META |
1076 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1074 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1077 | 1075 |
1078 #undef COMMA | 1076 #undef COMMA |
OLD | NEW |