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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 | 239 |
240 DEFINE_bool(optimize_for_in, true, | 240 DEFINE_bool(optimize_for_in, true, |
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, 3, |
250 "the length of the parallel compilation queue") | 250 "the length of the parallel compilation queue") |
251 DEFINE_int(parallel_recompilation_delay, 0, | 251 DEFINE_int(parallel_recompilation_delay, 0, |
252 "artificial compilation delay in ms") | 252 "artificial compilation delay in ms") |
253 DEFINE_bool(manual_parallel_recompilation, false, | |
254 "disable automatic optimization") | |
255 DEFINE_implication(manual_parallel_recompilation, parallel_recompilation) | |
256 DEFINE_bool(omit_prototype_checks_for_leaf_maps, true, | 253 DEFINE_bool(omit_prototype_checks_for_leaf_maps, true, |
257 "do not emit prototype checks if all prototypes have leaf maps, " | 254 "do not emit prototype checks if all prototypes have leaf maps, " |
258 "deoptimize the optimized code if the layout of the maps changes.") | 255 "deoptimize the optimized code if the layout of the maps changes.") |
259 | 256 |
260 // Experimental profiler changes. | 257 // Experimental profiler changes. |
261 DEFINE_bool(experimental_profiler, true, "enable all profiler experiments") | 258 DEFINE_bool(experimental_profiler, true, "enable all profiler experiments") |
262 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") | 259 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") |
263 DEFINE_int(frame_count, 1, "number of stack frames inspected by the profiler") | 260 DEFINE_int(frame_count, 1, "number of stack frames inspected by the profiler") |
264 DEFINE_bool(self_optimization, false, | 261 DEFINE_bool(self_optimization, false, |
265 "primitive functions trigger their own optimization") | 262 "primitive functions trigger their own optimization") |
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
752 #undef DEFINE_bool | 749 #undef DEFINE_bool |
753 #undef DEFINE_int | 750 #undef DEFINE_int |
754 #undef DEFINE_string | 751 #undef DEFINE_string |
755 #undef DEFINE_implication | 752 #undef DEFINE_implication |
756 | 753 |
757 #undef FLAG_MODE_DECLARE | 754 #undef FLAG_MODE_DECLARE |
758 #undef FLAG_MODE_DEFINE | 755 #undef FLAG_MODE_DEFINE |
759 #undef FLAG_MODE_DEFINE_DEFAULTS | 756 #undef FLAG_MODE_DEFINE_DEFAULTS |
760 #undef FLAG_MODE_META | 757 #undef FLAG_MODE_META |
761 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 758 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |