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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
325 | 325 |
326 DEFINE_bool(concurrent_recompilation, true, | 326 DEFINE_bool(concurrent_recompilation, true, |
327 "optimizing hot functions asynchronously on a separate thread") | 327 "optimizing hot functions asynchronously on a separate thread") |
328 DEFINE_bool(trace_concurrent_recompilation, false, | 328 DEFINE_bool(trace_concurrent_recompilation, false, |
329 "track concurrent recompilation") | 329 "track concurrent recompilation") |
330 DEFINE_int(concurrent_recompilation_queue_length, 8, | 330 DEFINE_int(concurrent_recompilation_queue_length, 8, |
331 "the length of the concurrent compilation queue") | 331 "the length of the concurrent compilation queue") |
332 DEFINE_int(concurrent_recompilation_delay, 0, | 332 DEFINE_int(concurrent_recompilation_delay, 0, |
333 "artificial compilation delay in ms") | 333 "artificial compilation delay in ms") |
334 | 334 |
335 // TODO(yangguo): to ease transitioning to the new naming scheme, we keep | |
336 // the old flags for now as aliases. Remove soon. | |
337 DEFINE_ALIAS_bool(parallel_recompilation, concurrent_recompilation) | |
338 DEFINE_ALIAS_bool(trace_parallel_recompilation, trace_concurrent_recompilation) | |
339 DEFINE_ALIAS_int(parallel_recompilation_queue_length, | |
340 concurrent_recompilation_queue_length) | |
341 DEFINE_ALIAS_int(parallel_recompilation_delay, concurrent_recompilation_delay) | |
342 | |
343 | |
344 DEFINE_bool(omit_map_checks_for_leaf_maps, true, | 335 DEFINE_bool(omit_map_checks_for_leaf_maps, true, |
345 "do not emit check maps for constant values that have a leaf map, " | 336 "do not emit check maps for constant values that have a leaf map, " |
346 "deoptimize the optimized code if the layout of the maps changes.") | 337 "deoptimize the optimized code if the layout of the maps changes.") |
347 | 338 |
348 // Experimental profiler changes. | 339 // Experimental profiler changes. |
349 DEFINE_bool(experimental_profiler, true, "enable all profiler experiments") | 340 DEFINE_bool(experimental_profiler, true, "enable all profiler experiments") |
350 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") | 341 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") |
351 DEFINE_int(frame_count, 1, "number of stack frames inspected by the profiler") | 342 DEFINE_int(frame_count, 1, "number of stack frames inspected by the profiler") |
352 DEFINE_bool(self_optimization, false, | 343 DEFINE_bool(self_optimization, false, |
353 "primitive functions trigger their own optimization") | 344 "primitive functions trigger their own optimization") |
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
860 #undef DEFINE_ALIAS_int | 851 #undef DEFINE_ALIAS_int |
861 #undef DEFINE_ALIAS_string | 852 #undef DEFINE_ALIAS_string |
862 #undef DEFINE_ALIAS_float | 853 #undef DEFINE_ALIAS_float |
863 #undef DEFINE_ALIAS_args | 854 #undef DEFINE_ALIAS_args |
864 | 855 |
865 #undef FLAG_MODE_DECLARE | 856 #undef FLAG_MODE_DECLARE |
866 #undef FLAG_MODE_DEFINE | 857 #undef FLAG_MODE_DEFINE |
867 #undef FLAG_MODE_DEFINE_DEFAULTS | 858 #undef FLAG_MODE_DEFINE_DEFAULTS |
868 #undef FLAG_MODE_META | 859 #undef FLAG_MODE_META |
869 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 860 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |