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 230 matching lines...) Loading... |
241 "optimize functions containing for-in loops") | 241 "optimize functions containing for-in loops") |
242 DEFINE_bool(opt_safe_uint32_operations, true, | 242 DEFINE_bool(opt_safe_uint32_operations, true, |
243 "allow uint32 values on optimize frames if they are used only in " | 243 "allow uint32 values on optimize frames if they are used only in " |
244 "safe operations") | 244 "safe operations") |
245 | 245 |
246 DEFINE_bool(parallel_recompilation, false, | 246 DEFINE_bool(parallel_recompilation, false, |
247 "optimizing hot functions asynchronously on a separate thread") | 247 "optimizing hot functions asynchronously on a separate thread") |
248 DEFINE_bool(trace_parallel_recompilation, false, "track parallel recompilation") | 248 DEFINE_bool(trace_parallel_recompilation, false, "track parallel recompilation") |
249 DEFINE_int(parallel_recompilation_queue_length, 2, | 249 DEFINE_int(parallel_recompilation_queue_length, 2, |
250 "the length of the parallel compilation queue") | 250 "the length of the parallel compilation queue") |
| 251 DEFINE_int(parallel_recompilation_delay, 0, |
| 252 "artificial compilation delay in ms") |
251 DEFINE_bool(manual_parallel_recompilation, false, | 253 DEFINE_bool(manual_parallel_recompilation, false, |
252 "disable automatic optimization") | 254 "disable automatic optimization") |
253 DEFINE_implication(manual_parallel_recompilation, parallel_recompilation) | 255 DEFINE_implication(manual_parallel_recompilation, parallel_recompilation) |
254 DEFINE_bool(omit_prototype_checks_for_leaf_maps, true, | 256 DEFINE_bool(omit_prototype_checks_for_leaf_maps, true, |
255 "do not emit prototype checks if all prototypes have leaf maps, " | 257 "do not emit prototype checks if all prototypes have leaf maps, " |
256 "deoptimize the optimized code if the layout of the maps changes.") | 258 "deoptimize the optimized code if the layout of the maps changes.") |
257 | 259 |
258 // Experimental profiler changes. | 260 // Experimental profiler changes. |
259 DEFINE_bool(experimental_profiler, true, "enable all profiler experiments") | 261 DEFINE_bool(experimental_profiler, true, "enable all profiler experiments") |
260 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") | 262 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") |
(...skipping 493 matching lines...) Loading... |
754 #undef DEFINE_bool | 756 #undef DEFINE_bool |
755 #undef DEFINE_int | 757 #undef DEFINE_int |
756 #undef DEFINE_string | 758 #undef DEFINE_string |
757 #undef DEFINE_implication | 759 #undef DEFINE_implication |
758 | 760 |
759 #undef FLAG_MODE_DECLARE | 761 #undef FLAG_MODE_DECLARE |
760 #undef FLAG_MODE_DEFINE | 762 #undef FLAG_MODE_DEFINE |
761 #undef FLAG_MODE_DEFINE_DEFAULTS | 763 #undef FLAG_MODE_DEFINE_DEFAULTS |
762 #undef FLAG_MODE_META | 764 #undef FLAG_MODE_META |
763 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 765 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |