| 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 DEFINE_bool(opt_safe_uint32_operations, true, | 221 DEFINE_bool(opt_safe_uint32_operations, true, |
| 222 "allow uint32 values on optimize frames if they are used only in" | 222 "allow uint32 values on optimize frames if they are used only in" |
| 223 "safe operations") | 223 "safe operations") |
| 224 | 224 |
| 225 DEFINE_bool(parallel_recompilation, false, | 225 DEFINE_bool(parallel_recompilation, false, |
| 226 "optimizing hot functions asynchronously on a separate thread") | 226 "optimizing hot functions asynchronously on a separate thread") |
| 227 DEFINE_bool(trace_parallel_recompilation, false, "track parallel recompilation") | 227 DEFINE_bool(trace_parallel_recompilation, false, "track parallel recompilation") |
| 228 DEFINE_int(parallel_recompilation_queue_length, 2, | 228 DEFINE_int(parallel_recompilation_queue_length, 2, |
| 229 "the length of the parallel compilation queue") | 229 "the length of the parallel compilation queue") |
| 230 | 230 |
| 231 DEFINE_bool(json_eval_cache, true, |
| 232 "prioritize compiled JSON strings passed to eval") |
| 233 DEFINE_int(json_eval_cache_max_entries, 32, |
| 234 "maximum entries in prioritized eval cache") |
| 235 DEFINE_int(json_eval_cache_max_size, 512*KB, |
| 236 "maximum total code size in prioritized eval cache") |
| 237 |
| 231 // Experimental profiler changes. | 238 // Experimental profiler changes. |
| 232 DEFINE_bool(experimental_profiler, true, "enable all profiler experiments") | 239 DEFINE_bool(experimental_profiler, true, "enable all profiler experiments") |
| 233 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") | 240 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") |
| 234 DEFINE_int(frame_count, 1, "number of stack frames inspected by the profiler") | 241 DEFINE_int(frame_count, 1, "number of stack frames inspected by the profiler") |
| 235 DEFINE_bool(self_optimization, false, | 242 DEFINE_bool(self_optimization, false, |
| 236 "primitive functions trigger their own optimization") | 243 "primitive functions trigger their own optimization") |
| 237 DEFINE_bool(direct_self_opt, false, | 244 DEFINE_bool(direct_self_opt, false, |
| 238 "call recompile stub directly when self-optimizing") | 245 "call recompile stub directly when self-optimizing") |
| 239 DEFINE_bool(retry_self_opt, false, "re-try self-optimization if it failed") | 246 DEFINE_bool(retry_self_opt, false, "re-try self-optimization if it failed") |
| 240 DEFINE_bool(count_based_interrupts, false, | 247 DEFINE_bool(count_based_interrupts, false, |
| (...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 691 #undef DEFINE_bool | 698 #undef DEFINE_bool |
| 692 #undef DEFINE_int | 699 #undef DEFINE_int |
| 693 #undef DEFINE_string | 700 #undef DEFINE_string |
| 694 #undef DEFINE_implication | 701 #undef DEFINE_implication |
| 695 | 702 |
| 696 #undef FLAG_MODE_DECLARE | 703 #undef FLAG_MODE_DECLARE |
| 697 #undef FLAG_MODE_DEFINE | 704 #undef FLAG_MODE_DEFINE |
| 698 #undef FLAG_MODE_DEFINE_DEFAULTS | 705 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 699 #undef FLAG_MODE_META | 706 #undef FLAG_MODE_META |
| 700 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 707 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| OLD | NEW |