Chromium Code Reviews| 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 590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 601 DEFINE_BOOL(print_max_heap_committed, false, | 601 DEFINE_BOOL(print_max_heap_committed, false, |
| 602 "print statistics of the maximum memory committed for the heap " | 602 "print statistics of the maximum memory committed for the heap " |
| 603 "in name=value format on exit") | 603 "in name=value format on exit") |
| 604 DEFINE_BOOL(trace_gc_verbose, false, | 604 DEFINE_BOOL(trace_gc_verbose, false, |
| 605 "print more details following each garbage collection") | 605 "print more details following each garbage collection") |
| 606 DEFINE_INT(trace_allocation_stack_interval, -1, | 606 DEFINE_INT(trace_allocation_stack_interval, -1, |
| 607 "print stack trace after <n> free-list allocations") | 607 "print stack trace after <n> free-list allocations") |
| 608 DEFINE_BOOL(trace_fragmentation, false, "report fragmentation for old space") | 608 DEFINE_BOOL(trace_fragmentation, false, "report fragmentation for old space") |
| 609 DEFINE_BOOL(trace_fragmentation_verbose, false, | 609 DEFINE_BOOL(trace_fragmentation_verbose, false, |
| 610 "report fragmentation for old space (detailed)") | 610 "report fragmentation for old space (detailed)") |
| 611 DEFINE_INT(max_evacuation_size, 0, | |
| 612 "maximum total size of evacuated objects per space (in Mbytes)") | |
| 613 DEFINE_INT(target_fragmentation, 40, | |
| 614 "the goal maximum percentage of free space in committed memory") | |
|
Hannes Payer (out of office)
2015/05/27 08:49:30
goal -> target
ulan
2015/05/27 11:33:20
Removed the flags.
| |
| 611 DEFINE_BOOL(collect_maps, true, | 615 DEFINE_BOOL(collect_maps, true, |
| 612 "garbage collect maps from which no objects can be reached") | 616 "garbage collect maps from which no objects can be reached") |
| 613 DEFINE_BOOL(weak_embedded_maps_in_optimized_code, true, | 617 DEFINE_BOOL(weak_embedded_maps_in_optimized_code, true, |
| 614 "make maps embedded in optimized code weak") | 618 "make maps embedded in optimized code weak") |
| 615 DEFINE_BOOL(weak_embedded_objects_in_optimized_code, true, | 619 DEFINE_BOOL(weak_embedded_objects_in_optimized_code, true, |
| 616 "make objects embedded in optimized code weak") | 620 "make objects embedded in optimized code weak") |
| 617 DEFINE_BOOL(flush_code, true, | 621 DEFINE_BOOL(flush_code, true, |
| 618 "flush code that we expect not to use again (during full gc)") | 622 "flush code that we expect not to use again (during full gc)") |
| 619 DEFINE_BOOL(flush_code_incrementally, true, | 623 DEFINE_BOOL(flush_code_incrementally, true, |
| 620 "flush code that we expect not to use again (incrementally)") | 624 "flush code that we expect not to use again (incrementally)") |
| (...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1068 #undef DEFINE_ALIAS_FLOAT | 1072 #undef DEFINE_ALIAS_FLOAT |
| 1069 #undef DEFINE_ALIAS_ARGS | 1073 #undef DEFINE_ALIAS_ARGS |
| 1070 | 1074 |
| 1071 #undef FLAG_MODE_DECLARE | 1075 #undef FLAG_MODE_DECLARE |
| 1072 #undef FLAG_MODE_DEFINE | 1076 #undef FLAG_MODE_DEFINE |
| 1073 #undef FLAG_MODE_DEFINE_DEFAULTS | 1077 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1074 #undef FLAG_MODE_META | 1078 #undef FLAG_MODE_META |
| 1075 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1079 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1076 | 1080 |
| 1077 #undef COMMA | 1081 #undef COMMA |
| OLD | NEW |