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 291 matching lines...) Loading... |
302 "allow uint32 values on optimize frames if they are used only in " | 302 "allow uint32 values on optimize frames if they are used only in " |
303 "safe operations") | 303 "safe operations") |
304 | 304 |
305 DEFINE_bool(parallel_recompilation, true, | 305 DEFINE_bool(parallel_recompilation, true, |
306 "optimizing hot functions asynchronously on a separate thread") | 306 "optimizing hot functions asynchronously on a separate thread") |
307 DEFINE_bool(trace_parallel_recompilation, false, "track parallel recompilation") | 307 DEFINE_bool(trace_parallel_recompilation, false, "track parallel recompilation") |
308 DEFINE_int(parallel_recompilation_queue_length, 8, | 308 DEFINE_int(parallel_recompilation_queue_length, 8, |
309 "the length of the parallel compilation queue") | 309 "the length of the parallel compilation queue") |
310 DEFINE_int(parallel_recompilation_delay, 0, | 310 DEFINE_int(parallel_recompilation_delay, 0, |
311 "artificial compilation delay in ms") | 311 "artificial compilation delay in ms") |
312 DEFINE_bool(omit_prototype_checks_for_leaf_maps, true, | |
313 "do not emit prototype checks if all prototypes have leaf maps, " | |
314 "deoptimize the optimized code if the layout of the maps changes.") | |
315 DEFINE_bool(omit_map_checks_for_leaf_maps, true, | 312 DEFINE_bool(omit_map_checks_for_leaf_maps, true, |
316 "do not emit check maps for constant values that have a leaf map, " | 313 "do not emit check maps for constant values that have a leaf map, " |
317 "deoptimize the optimized code if the layout of the maps changes.") | 314 "deoptimize the optimized code if the layout of the maps changes.") |
318 | 315 |
319 // Experimental profiler changes. | 316 // Experimental profiler changes. |
320 DEFINE_bool(experimental_profiler, true, "enable all profiler experiments") | 317 DEFINE_bool(experimental_profiler, true, "enable all profiler experiments") |
321 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") | 318 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") |
322 DEFINE_int(frame_count, 1, "number of stack frames inspected by the profiler") | 319 DEFINE_int(frame_count, 1, "number of stack frames inspected by the profiler") |
323 DEFINE_bool(self_optimization, false, | 320 DEFINE_bool(self_optimization, false, |
324 "primitive functions trigger their own optimization") | 321 "primitive functions trigger their own optimization") |
(...skipping 488 matching lines...) Loading... |
813 #undef DEFINE_bool | 810 #undef DEFINE_bool |
814 #undef DEFINE_int | 811 #undef DEFINE_int |
815 #undef DEFINE_string | 812 #undef DEFINE_string |
816 #undef DEFINE_implication | 813 #undef DEFINE_implication |
817 | 814 |
818 #undef FLAG_MODE_DECLARE | 815 #undef FLAG_MODE_DECLARE |
819 #undef FLAG_MODE_DEFINE | 816 #undef FLAG_MODE_DEFINE |
820 #undef FLAG_MODE_DEFINE_DEFAULTS | 817 #undef FLAG_MODE_DEFINE_DEFAULTS |
821 #undef FLAG_MODE_META | 818 #undef FLAG_MODE_META |
822 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 819 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |