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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 "info, not JSFunction itself") | 211 "info, not JSFunction itself") |
212 DEFINE_bool(cache_optimized_code, true, | 212 DEFINE_bool(cache_optimized_code, true, |
213 "cache optimized code for closures") | 213 "cache optimized code for closures") |
214 DEFINE_bool(inline_construct, true, "inline constructor calls") | 214 DEFINE_bool(inline_construct, true, "inline constructor calls") |
215 DEFINE_bool(inline_arguments, true, "inline functions with arguments object") | 215 DEFINE_bool(inline_arguments, true, "inline functions with arguments object") |
216 DEFINE_int(loop_weight, 1, "loop weight for representation inference") | 216 DEFINE_int(loop_weight, 1, "loop weight for representation inference") |
217 | 217 |
218 DEFINE_bool(optimize_for_in, true, | 218 DEFINE_bool(optimize_for_in, true, |
219 "optimize functions containing for-in loops") | 219 "optimize functions containing for-in loops") |
220 | 220 |
| 221 DEFINE_bool(parallel_recompilation, false, |
| 222 "optimizing hot functions asynchronously on a separate thread") |
| 223 DEFINE_bool(trace_parallel_recompilation, false, "track parallel recompilation") |
| 224 DEFINE_int(parallel_recompilation_queue_length, 2, |
| 225 "the length of the parallel compilation queue") |
| 226 |
221 // Experimental profiler changes. | 227 // Experimental profiler changes. |
222 DEFINE_bool(experimental_profiler, true, "enable all profiler experiments") | 228 DEFINE_bool(experimental_profiler, true, "enable all profiler experiments") |
223 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") | 229 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") |
224 DEFINE_int(frame_count, 1, "number of stack frames inspected by the profiler") | 230 DEFINE_int(frame_count, 1, "number of stack frames inspected by the profiler") |
225 DEFINE_bool(self_optimization, false, | 231 DEFINE_bool(self_optimization, false, |
226 "primitive functions trigger their own optimization") | 232 "primitive functions trigger their own optimization") |
227 DEFINE_bool(direct_self_opt, false, | 233 DEFINE_bool(direct_self_opt, false, |
228 "call recompile stub directly when self-optimizing") | 234 "call recompile stub directly when self-optimizing") |
229 DEFINE_bool(retry_self_opt, false, "re-try self-optimization if it failed") | 235 DEFINE_bool(retry_self_opt, false, "re-try self-optimization if it failed") |
230 DEFINE_bool(count_based_interrupts, false, | 236 DEFINE_bool(count_based_interrupts, false, |
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
671 #undef DEFINE_bool | 677 #undef DEFINE_bool |
672 #undef DEFINE_int | 678 #undef DEFINE_int |
673 #undef DEFINE_string | 679 #undef DEFINE_string |
674 #undef DEFINE_implication | 680 #undef DEFINE_implication |
675 | 681 |
676 #undef FLAG_MODE_DECLARE | 682 #undef FLAG_MODE_DECLARE |
677 #undef FLAG_MODE_DEFINE | 683 #undef FLAG_MODE_DEFINE |
678 #undef FLAG_MODE_DEFINE_DEFAULTS | 684 #undef FLAG_MODE_DEFINE_DEFAULTS |
679 #undef FLAG_MODE_META | 685 #undef FLAG_MODE_META |
680 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 686 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |