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 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
594 "print one trace line following each idle notification") | 594 "print one trace line following each idle notification") |
595 DEFINE_BOOL(trace_idle_notification_verbose, false, | 595 DEFINE_BOOL(trace_idle_notification_verbose, false, |
596 "prints the heap state used by the idle notification") | 596 "prints the heap state used by the idle notification") |
597 DEFINE_BOOL(print_cumulative_gc_stat, false, | 597 DEFINE_BOOL(print_cumulative_gc_stat, false, |
598 "print cumulative GC statistics in name=value format on exit") | 598 "print cumulative GC statistics in name=value format on exit") |
599 DEFINE_BOOL(print_max_heap_committed, false, | 599 DEFINE_BOOL(print_max_heap_committed, false, |
600 "print statistics of the maximum memory committed for the heap " | 600 "print statistics of the maximum memory committed for the heap " |
601 "in name=value format on exit") | 601 "in name=value format on exit") |
602 DEFINE_BOOL(trace_gc_verbose, false, | 602 DEFINE_BOOL(trace_gc_verbose, false, |
603 "print more details following each garbage collection") | 603 "print more details following each garbage collection") |
| 604 DEFINE_INT(trace_allocation_stack_interval, -1, |
| 605 "print stack trace after <n> free-list allocations") |
604 DEFINE_BOOL(trace_fragmentation, false, "report fragmentation for old space") | 606 DEFINE_BOOL(trace_fragmentation, false, "report fragmentation for old space") |
605 DEFINE_BOOL(trace_fragmentation_verbose, false, | 607 DEFINE_BOOL(trace_fragmentation_verbose, false, |
606 "report fragmentation for old space (detailed)") | 608 "report fragmentation for old space (detailed)") |
607 DEFINE_BOOL(collect_maps, true, | 609 DEFINE_BOOL(collect_maps, true, |
608 "garbage collect maps from which no objects can be reached") | 610 "garbage collect maps from which no objects can be reached") |
609 DEFINE_BOOL(weak_embedded_maps_in_optimized_code, true, | 611 DEFINE_BOOL(weak_embedded_maps_in_optimized_code, true, |
610 "make maps embedded in optimized code weak") | 612 "make maps embedded in optimized code weak") |
611 DEFINE_BOOL(weak_embedded_objects_in_optimized_code, true, | 613 DEFINE_BOOL(weak_embedded_objects_in_optimized_code, true, |
612 "make objects embedded in optimized code weak") | 614 "make objects embedded in optimized code weak") |
613 DEFINE_BOOL(flush_code, true, | 615 DEFINE_BOOL(flush_code, true, |
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1059 #undef DEFINE_ALIAS_FLOAT | 1061 #undef DEFINE_ALIAS_FLOAT |
1060 #undef DEFINE_ALIAS_ARGS | 1062 #undef DEFINE_ALIAS_ARGS |
1061 | 1063 |
1062 #undef FLAG_MODE_DECLARE | 1064 #undef FLAG_MODE_DECLARE |
1063 #undef FLAG_MODE_DEFINE | 1065 #undef FLAG_MODE_DEFINE |
1064 #undef FLAG_MODE_DEFINE_DEFAULTS | 1066 #undef FLAG_MODE_DEFINE_DEFAULTS |
1065 #undef FLAG_MODE_META | 1067 #undef FLAG_MODE_META |
1066 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1068 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1067 | 1069 |
1068 #undef COMMA | 1070 #undef COMMA |
OLD | NEW |