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 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
488 DEFINE_INT(max_executable_size, 0, "max size of executable memory (in Mbytes)") | 488 DEFINE_INT(max_executable_size, 0, "max size of executable memory (in Mbytes)") |
489 DEFINE_BOOL(gc_global, false, "always perform global GCs") | 489 DEFINE_BOOL(gc_global, false, "always perform global GCs") |
490 DEFINE_INT(gc_interval, -1, "garbage collect after <n> allocations") | 490 DEFINE_INT(gc_interval, -1, "garbage collect after <n> allocations") |
491 DEFINE_BOOL(trace_gc, false, | 491 DEFINE_BOOL(trace_gc, false, |
492 "print one trace line following each garbage collection") | 492 "print one trace line following each garbage collection") |
493 DEFINE_BOOL(trace_gc_nvp, false, | 493 DEFINE_BOOL(trace_gc_nvp, false, |
494 "print one detailed trace line in name=value format " | 494 "print one detailed trace line in name=value format " |
495 "after each garbage collection") | 495 "after each garbage collection") |
496 DEFINE_BOOL(trace_gc_ignore_scavenger, false, | 496 DEFINE_BOOL(trace_gc_ignore_scavenger, false, |
497 "do not print trace line after scavenger collection") | 497 "do not print trace line after scavenger collection") |
| 498 DEFINE_BOOL(trace_idle_notification, false, |
| 499 "print one trace line following each idle notification") |
498 DEFINE_BOOL(print_cumulative_gc_stat, false, | 500 DEFINE_BOOL(print_cumulative_gc_stat, false, |
499 "print cumulative GC statistics in name=value format on exit") | 501 "print cumulative GC statistics in name=value format on exit") |
500 DEFINE_BOOL(print_max_heap_committed, false, | 502 DEFINE_BOOL(print_max_heap_committed, false, |
501 "print statistics of the maximum memory committed for the heap " | 503 "print statistics of the maximum memory committed for the heap " |
502 "in name=value format on exit") | 504 "in name=value format on exit") |
503 DEFINE_BOOL(trace_gc_verbose, false, | 505 DEFINE_BOOL(trace_gc_verbose, false, |
504 "print more details following each garbage collection") | 506 "print more details following each garbage collection") |
505 DEFINE_BOOL(trace_fragmentation, false, | 507 DEFINE_BOOL(trace_fragmentation, false, |
506 "report fragmentation for old pointer and data pages") | 508 "report fragmentation for old pointer and data pages") |
507 DEFINE_BOOL(collect_maps, true, | 509 DEFINE_BOOL(collect_maps, true, |
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
927 #undef DEFINE_ALIAS_FLOAT | 929 #undef DEFINE_ALIAS_FLOAT |
928 #undef DEFINE_ALIAS_ARGS | 930 #undef DEFINE_ALIAS_ARGS |
929 | 931 |
930 #undef FLAG_MODE_DECLARE | 932 #undef FLAG_MODE_DECLARE |
931 #undef FLAG_MODE_DEFINE | 933 #undef FLAG_MODE_DEFINE |
932 #undef FLAG_MODE_DEFINE_DEFAULTS | 934 #undef FLAG_MODE_DEFINE_DEFAULTS |
933 #undef FLAG_MODE_META | 935 #undef FLAG_MODE_META |
934 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 936 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
935 | 937 |
936 #undef COMMA | 938 #undef COMMA |
OLD | NEW |