| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 620 "randomize hashes to avoid predictable hash collisions " | 620 "randomize hashes to avoid predictable hash collisions " |
| 621 "(with snapshots this option cannot override the baked-in seed)") | 621 "(with snapshots this option cannot override the baked-in seed)") |
| 622 DEFINE_int(hash_seed, 0, | 622 DEFINE_int(hash_seed, 0, |
| 623 "Fixed seed to use to hash property keys (0 means random)" | 623 "Fixed seed to use to hash property keys (0 means random)" |
| 624 "(with snapshots this option cannot override the baked-in seed)") | 624 "(with snapshots this option cannot override the baked-in seed)") |
| 625 | 625 |
| 626 // snapshot-common.cc | 626 // snapshot-common.cc |
| 627 DEFINE_bool(profile_deserialization, false, | 627 DEFINE_bool(profile_deserialization, false, |
| 628 "Print the time it takes to deserialize the snapshot.") | 628 "Print the time it takes to deserialize the snapshot.") |
| 629 | 629 |
| 630 // v8.cc | |
| 631 DEFINE_bool(preemption, false, | |
| 632 "activate a 100ms timer that switches between V8 threads") | |
| 633 | |
| 634 // Regexp | 630 // Regexp |
| 635 DEFINE_bool(regexp_optimization, true, "generate optimized regexp code") | 631 DEFINE_bool(regexp_optimization, true, "generate optimized regexp code") |
| 636 | 632 |
| 637 // Testing flags test/cctest/test-{flags,api,serialization}.cc | 633 // Testing flags test/cctest/test-{flags,api,serialization}.cc |
| 638 DEFINE_bool(testing_bool_flag, true, "testing_bool_flag") | 634 DEFINE_bool(testing_bool_flag, true, "testing_bool_flag") |
| 639 DEFINE_maybe_bool(testing_maybe_bool_flag, "testing_maybe_bool_flag") | 635 DEFINE_maybe_bool(testing_maybe_bool_flag, "testing_maybe_bool_flag") |
| 640 DEFINE_int(testing_int_flag, 13, "testing_int_flag") | 636 DEFINE_int(testing_int_flag, 13, "testing_int_flag") |
| 641 DEFINE_float(testing_float_flag, 2.5, "float-flag") | 637 DEFINE_float(testing_float_flag, 2.5, "float-flag") |
| 642 DEFINE_string(testing_string_flag, "Hello, world!", "string-flag") | 638 DEFINE_string(testing_string_flag, "Hello, world!", "string-flag") |
| 643 DEFINE_int(testing_prng_seed, 42, "Seed used for threading test randomness") | 639 DEFINE_int(testing_prng_seed, 42, "Seed used for threading test randomness") |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 798 "log positions of (de)serialized objects in the snapshot.") | 794 "log positions of (de)serialized objects in the snapshot.") |
| 799 DEFINE_bool(log_suspect, false, "Log suspect operations.") | 795 DEFINE_bool(log_suspect, false, "Log suspect operations.") |
| 800 DEFINE_bool(prof, false, | 796 DEFINE_bool(prof, false, |
| 801 "Log statistical profiling information (implies --log-code).") | 797 "Log statistical profiling information (implies --log-code).") |
| 802 DEFINE_bool(prof_browser_mode, true, | 798 DEFINE_bool(prof_browser_mode, true, |
| 803 "Used with --prof, turns on browser-compatible mode for profiling.") | 799 "Used with --prof, turns on browser-compatible mode for profiling.") |
| 804 DEFINE_bool(log_regexp, false, "Log regular expression execution.") | 800 DEFINE_bool(log_regexp, false, "Log regular expression execution.") |
| 805 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") | 801 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") |
| 806 DEFINE_bool(logfile_per_isolate, true, "Separate log files for each isolate.") | 802 DEFINE_bool(logfile_per_isolate, true, "Separate log files for each isolate.") |
| 807 DEFINE_bool(ll_prof, false, "Enable low-level linux profiler.") | 803 DEFINE_bool(ll_prof, false, "Enable low-level linux profiler.") |
| 804 DEFINE_bool(perf_basic_prof, false, |
| 805 "Enable perf linux profiler (basic support).") |
| 806 DEFINE_bool(perf_jit_prof, false, |
| 807 "Enable perf linux profiler (experimental annotate support).") |
| 808 DEFINE_string(gc_fake_mmap, "/tmp/__v8_gc__", | 808 DEFINE_string(gc_fake_mmap, "/tmp/__v8_gc__", |
| 809 "Specify the name of the file for fake gc mmap used in ll_prof") | 809 "Specify the name of the file for fake gc mmap used in ll_prof") |
| 810 DEFINE_bool(log_internal_timer_events, false, "Time internal events.") | 810 DEFINE_bool(log_internal_timer_events, false, "Time internal events.") |
| 811 DEFINE_bool(log_timer_events, false, | 811 DEFINE_bool(log_timer_events, false, |
| 812 "Time events including external callbacks.") | 812 "Time events including external callbacks.") |
| 813 DEFINE_implication(log_timer_events, log_internal_timer_events) | 813 DEFINE_implication(log_timer_events, log_internal_timer_events) |
| 814 DEFINE_implication(log_internal_timer_events, prof) | 814 DEFINE_implication(log_internal_timer_events, prof) |
| 815 DEFINE_bool(log_instruction_stats, false, "Log AArch64 instruction statistics.") | 815 DEFINE_bool(log_instruction_stats, false, "Log AArch64 instruction statistics.") |
| 816 DEFINE_string(log_instruction_file, "a64_inst.csv", | 816 DEFINE_string(log_instruction_file, "a64_inst.csv", |
| 817 "AArch64 instruction statistics log file.") | 817 "AArch64 instruction statistics log file.") |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 911 #undef DEFINE_ALIAS_float | 911 #undef DEFINE_ALIAS_float |
| 912 #undef DEFINE_ALIAS_args | 912 #undef DEFINE_ALIAS_args |
| 913 | 913 |
| 914 #undef FLAG_MODE_DECLARE | 914 #undef FLAG_MODE_DECLARE |
| 915 #undef FLAG_MODE_DEFINE | 915 #undef FLAG_MODE_DEFINE |
| 916 #undef FLAG_MODE_DEFINE_DEFAULTS | 916 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 917 #undef FLAG_MODE_META | 917 #undef FLAG_MODE_META |
| 918 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 918 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 919 | 919 |
| 920 #undef COMMA | 920 #undef COMMA |
| OLD | NEW |