| 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 553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 564 DEFINE_BOOL(flush_code, true, | 564 DEFINE_BOOL(flush_code, true, |
| 565 "flush code that we expect not to use again (during full gc)") | 565 "flush code that we expect not to use again (during full gc)") |
| 566 DEFINE_BOOL(flush_code_incrementally, true, | 566 DEFINE_BOOL(flush_code_incrementally, true, |
| 567 "flush code that we expect not to use again (incrementally)") | 567 "flush code that we expect not to use again (incrementally)") |
| 568 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") | 568 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") |
| 569 DEFINE_BOOL(age_code, true, | 569 DEFINE_BOOL(age_code, true, |
| 570 "track un-executed functions to age code and flush only " | 570 "track un-executed functions to age code and flush only " |
| 571 "old code (required for code flushing)") | 571 "old code (required for code flushing)") |
| 572 DEFINE_BOOL(incremental_marking, true, "use incremental marking") | 572 DEFINE_BOOL(incremental_marking, true, "use incremental marking") |
| 573 DEFINE_BOOL(incremental_marking_steps, true, "do incremental marking steps") | 573 DEFINE_BOOL(incremental_marking_steps, true, "do incremental marking steps") |
| 574 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") |
| 574 DEFINE_BOOL(trace_incremental_marking, false, | 575 DEFINE_BOOL(trace_incremental_marking, false, |
| 575 "trace progress of the incremental marking") | 576 "trace progress of the incremental marking") |
| 576 DEFINE_BOOL(track_gc_object_stats, false, | 577 DEFINE_BOOL(track_gc_object_stats, false, |
| 577 "track object counts and memory usage") | 578 "track object counts and memory usage") |
| 578 #ifdef VERIFY_HEAP | 579 #ifdef VERIFY_HEAP |
| 579 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") | 580 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") |
| 580 #endif | 581 #endif |
| 581 | 582 |
| 582 | 583 |
| 583 // heap-snapshot-generator.cc | 584 // heap-snapshot-generator.cc |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 699 "Write V8 startup blob file. " | 700 "Write V8 startup blob file. " |
| 700 "(mksnapshot only)") | 701 "(mksnapshot only)") |
| 701 | 702 |
| 702 // code-stubs-hydrogen.cc | 703 // code-stubs-hydrogen.cc |
| 703 DEFINE_BOOL(profile_hydrogen_code_stub_compilation, false, | 704 DEFINE_BOOL(profile_hydrogen_code_stub_compilation, false, |
| 704 "Print the time it takes to lazily compile hydrogen code stubs.") | 705 "Print the time it takes to lazily compile hydrogen code stubs.") |
| 705 | 706 |
| 706 DEFINE_BOOL(predictable, false, "enable predictable mode") | 707 DEFINE_BOOL(predictable, false, "enable predictable mode") |
| 707 DEFINE_NEG_IMPLICATION(predictable, concurrent_recompilation) | 708 DEFINE_NEG_IMPLICATION(predictable, concurrent_recompilation) |
| 708 DEFINE_NEG_IMPLICATION(predictable, concurrent_osr) | 709 DEFINE_NEG_IMPLICATION(predictable, concurrent_osr) |
| 710 DEFINE_NEG_IMPLICATION(predictable, concurrent_sweeping) |
| 709 | 711 |
| 710 | 712 |
| 711 // | 713 // |
| 712 // Dev shell flags | 714 // Dev shell flags |
| 713 // | 715 // |
| 714 | 716 |
| 715 DEFINE_BOOL(help, false, "Print usage message, including flags, on console") | 717 DEFINE_BOOL(help, false, "Print usage message, including flags, on console") |
| 716 DEFINE_BOOL(dump_counters, false, "Dump counters on exit") | 718 DEFINE_BOOL(dump_counters, false, "Dump counters on exit") |
| 717 | 719 |
| 718 DEFINE_BOOL(debugger, false, "Enable JavaScript debugger") | 720 DEFINE_BOOL(debugger, false, "Enable JavaScript debugger") |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 976 #undef DEFINE_ALIAS_FLOAT | 978 #undef DEFINE_ALIAS_FLOAT |
| 977 #undef DEFINE_ALIAS_ARGS | 979 #undef DEFINE_ALIAS_ARGS |
| 978 | 980 |
| 979 #undef FLAG_MODE_DECLARE | 981 #undef FLAG_MODE_DECLARE |
| 980 #undef FLAG_MODE_DEFINE | 982 #undef FLAG_MODE_DEFINE |
| 981 #undef FLAG_MODE_DEFINE_DEFAULTS | 983 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 982 #undef FLAG_MODE_META | 984 #undef FLAG_MODE_META |
| 983 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 985 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 984 | 986 |
| 985 #undef COMMA | 987 #undef COMMA |
| OLD | NEW |