| 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 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 588 "print one trace line following each idle notification") | 588 "print one trace line following each idle notification") |
| 589 DEFINE_BOOL(trace_idle_notification_verbose, false, | 589 DEFINE_BOOL(trace_idle_notification_verbose, false, |
| 590 "prints the heap state used by the idle notification") | 590 "prints the heap state used by the idle notification") |
| 591 DEFINE_BOOL(print_cumulative_gc_stat, false, | 591 DEFINE_BOOL(print_cumulative_gc_stat, false, |
| 592 "print cumulative GC statistics in name=value format on exit") | 592 "print cumulative GC statistics in name=value format on exit") |
| 593 DEFINE_BOOL(print_max_heap_committed, false, | 593 DEFINE_BOOL(print_max_heap_committed, false, |
| 594 "print statistics of the maximum memory committed for the heap " | 594 "print statistics of the maximum memory committed for the heap " |
| 595 "in name=value format on exit") | 595 "in name=value format on exit") |
| 596 DEFINE_BOOL(trace_gc_verbose, false, | 596 DEFINE_BOOL(trace_gc_verbose, false, |
| 597 "print more details following each garbage collection") | 597 "print more details following each garbage collection") |
| 598 DEFINE_BOOL(trace_fragmentation, false, | 598 DEFINE_BOOL(trace_fragmentation, false, "report fragmentation for old space") |
| 599 "report fragmentation for old pointer and data pages") | 599 DEFINE_BOOL(trace_fragmentation_verbose, false, |
| 600 "report fragmentation for old space (detailed)") |
| 600 DEFINE_BOOL(collect_maps, true, | 601 DEFINE_BOOL(collect_maps, true, |
| 601 "garbage collect maps from which no objects can be reached") | 602 "garbage collect maps from which no objects can be reached") |
| 602 DEFINE_BOOL(weak_embedded_maps_in_optimized_code, true, | 603 DEFINE_BOOL(weak_embedded_maps_in_optimized_code, true, |
| 603 "make maps embedded in optimized code weak") | 604 "make maps embedded in optimized code weak") |
| 604 DEFINE_BOOL(weak_embedded_objects_in_optimized_code, true, | 605 DEFINE_BOOL(weak_embedded_objects_in_optimized_code, true, |
| 605 "make objects embedded in optimized code weak") | 606 "make objects embedded in optimized code weak") |
| 606 DEFINE_BOOL(flush_code, true, | 607 DEFINE_BOOL(flush_code, true, |
| 607 "flush code that we expect not to use again (during full gc)") | 608 "flush code that we expect not to use again (during full gc)") |
| 608 DEFINE_BOOL(flush_code_incrementally, true, | 609 DEFINE_BOOL(flush_code_incrementally, true, |
| 609 "flush code that we expect not to use again (incrementally)") | 610 "flush code that we expect not to use again (incrementally)") |
| (...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1035 #undef DEFINE_ALIAS_FLOAT | 1036 #undef DEFINE_ALIAS_FLOAT |
| 1036 #undef DEFINE_ALIAS_ARGS | 1037 #undef DEFINE_ALIAS_ARGS |
| 1037 | 1038 |
| 1038 #undef FLAG_MODE_DECLARE | 1039 #undef FLAG_MODE_DECLARE |
| 1039 #undef FLAG_MODE_DEFINE | 1040 #undef FLAG_MODE_DEFINE |
| 1040 #undef FLAG_MODE_DEFINE_DEFAULTS | 1041 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1041 #undef FLAG_MODE_META | 1042 #undef FLAG_MODE_META |
| 1042 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1043 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1043 | 1044 |
| 1044 #undef COMMA | 1045 #undef COMMA |
| OLD | NEW |