| 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 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 528 DEFINE_BOOL(incremental_marking, true, "use incremental marking") | 528 DEFINE_BOOL(incremental_marking, true, "use incremental marking") |
| 529 DEFINE_BOOL(incremental_marking_steps, true, "do incremental marking steps") | 529 DEFINE_BOOL(incremental_marking_steps, true, "do incremental marking steps") |
| 530 DEFINE_BOOL(trace_incremental_marking, false, | 530 DEFINE_BOOL(trace_incremental_marking, false, |
| 531 "trace progress of the incremental marking") | 531 "trace progress of the incremental marking") |
| 532 DEFINE_BOOL(track_gc_object_stats, false, | 532 DEFINE_BOOL(track_gc_object_stats, false, |
| 533 "track object counts and memory usage") | 533 "track object counts and memory usage") |
| 534 DEFINE_BOOL(parallel_sweeping, false, "enable parallel sweeping") | 534 DEFINE_BOOL(parallel_sweeping, false, "enable parallel sweeping") |
| 535 DEFINE_BOOL(concurrent_sweeping, true, "enable concurrent sweeping") | 535 DEFINE_BOOL(concurrent_sweeping, true, "enable concurrent sweeping") |
| 536 DEFINE_INT(sweeper_threads, 0, | 536 DEFINE_INT(sweeper_threads, 0, |
| 537 "number of parallel and concurrent sweeping threads") | 537 "number of parallel and concurrent sweeping threads") |
| 538 DEFINE_BOOL(job_based_sweeping, true, "enable job based sweeping") | |
| 539 #ifdef VERIFY_HEAP | 538 #ifdef VERIFY_HEAP |
| 540 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") | 539 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") |
| 541 #endif | 540 #endif |
| 542 | 541 |
| 543 | 542 |
| 544 // heap-snapshot-generator.cc | 543 // heap-snapshot-generator.cc |
| 545 DEFINE_BOOL(heap_profiler_trace_objects, false, | 544 DEFINE_BOOL(heap_profiler_trace_objects, false, |
| 546 "Dump heap object allocations/movements/size_updates") | 545 "Dump heap object allocations/movements/size_updates") |
| 547 | 546 |
| 548 | 547 |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 659 | 658 |
| 660 // code-stubs-hydrogen.cc | 659 // code-stubs-hydrogen.cc |
| 661 DEFINE_BOOL(profile_hydrogen_code_stub_compilation, false, | 660 DEFINE_BOOL(profile_hydrogen_code_stub_compilation, false, |
| 662 "Print the time it takes to lazily compile hydrogen code stubs.") | 661 "Print the time it takes to lazily compile hydrogen code stubs.") |
| 663 | 662 |
| 664 DEFINE_BOOL(predictable, false, "enable predictable mode") | 663 DEFINE_BOOL(predictable, false, "enable predictable mode") |
| 665 DEFINE_NEG_IMPLICATION(predictable, concurrent_recompilation) | 664 DEFINE_NEG_IMPLICATION(predictable, concurrent_recompilation) |
| 666 DEFINE_NEG_IMPLICATION(predictable, concurrent_osr) | 665 DEFINE_NEG_IMPLICATION(predictable, concurrent_osr) |
| 667 DEFINE_NEG_IMPLICATION(predictable, concurrent_sweeping) | 666 DEFINE_NEG_IMPLICATION(predictable, concurrent_sweeping) |
| 668 DEFINE_NEG_IMPLICATION(predictable, parallel_sweeping) | 667 DEFINE_NEG_IMPLICATION(predictable, parallel_sweeping) |
| 669 DEFINE_NEG_IMPLICATION(predictable, job_based_sweeping) | |
| 670 | 668 |
| 671 | 669 |
| 672 // | 670 // |
| 673 // Dev shell flags | 671 // Dev shell flags |
| 674 // | 672 // |
| 675 | 673 |
| 676 DEFINE_BOOL(help, false, "Print usage message, including flags, on console") | 674 DEFINE_BOOL(help, false, "Print usage message, including flags, on console") |
| 677 DEFINE_BOOL(dump_counters, false, "Dump counters on exit") | 675 DEFINE_BOOL(dump_counters, false, "Dump counters on exit") |
| 678 | 676 |
| 679 DEFINE_BOOL(debugger, false, "Enable JavaScript debugger") | 677 DEFINE_BOOL(debugger, false, "Enable JavaScript debugger") |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 934 #undef DEFINE_ALIAS_FLOAT | 932 #undef DEFINE_ALIAS_FLOAT |
| 935 #undef DEFINE_ALIAS_ARGS | 933 #undef DEFINE_ALIAS_ARGS |
| 936 | 934 |
| 937 #undef FLAG_MODE_DECLARE | 935 #undef FLAG_MODE_DECLARE |
| 938 #undef FLAG_MODE_DEFINE | 936 #undef FLAG_MODE_DEFINE |
| 939 #undef FLAG_MODE_DEFINE_DEFAULTS | 937 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 940 #undef FLAG_MODE_META | 938 #undef FLAG_MODE_META |
| 941 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 939 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 942 | 940 |
| 943 #undef COMMA | 941 #undef COMMA |
| OLD | NEW |