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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 DEFINE_bool(direct_self_opt, false, | 310 DEFINE_bool(direct_self_opt, false, |
311 "call recompile stub directly when self-optimizing") | 311 "call recompile stub directly when self-optimizing") |
312 DEFINE_bool(retry_self_opt, false, "re-try self-optimization if it failed") | 312 DEFINE_bool(retry_self_opt, false, "re-try self-optimization if it failed") |
313 DEFINE_bool(interrupt_at_exit, false, | 313 DEFINE_bool(interrupt_at_exit, false, |
314 "insert an interrupt check at function exit") | 314 "insert an interrupt check at function exit") |
315 DEFINE_bool(weighted_back_edges, false, | 315 DEFINE_bool(weighted_back_edges, false, |
316 "weight back edges by jump distance for interrupt triggering") | 316 "weight back edges by jump distance for interrupt triggering") |
317 // 0x1700 fits in the immediate field of an ARM instruction. | 317 // 0x1700 fits in the immediate field of an ARM instruction. |
318 DEFINE_int(interrupt_budget, 0x1700, | 318 DEFINE_int(interrupt_budget, 0x1700, |
319 "execution budget before interrupt is triggered") | 319 "execution budget before interrupt is triggered") |
320 DEFINE_int(type_info_threshold, 15, | 320 DEFINE_int(type_info_threshold, 30, |
321 "percentage of ICs that must have type info to allow optimization") | 321 "percentage of ICs that must have type info to allow optimization") |
322 DEFINE_int(self_opt_count, 130, "call count before self-optimization") | 322 DEFINE_int(self_opt_count, 130, "call count before self-optimization") |
323 | 323 |
324 DEFINE_implication(experimental_profiler, watch_ic_patching) | 324 DEFINE_implication(experimental_profiler, watch_ic_patching) |
325 DEFINE_implication(experimental_profiler, self_optimization) | 325 DEFINE_implication(experimental_profiler, self_optimization) |
326 // Not implying direct_self_opt here because it seems to be a bad idea. | 326 // Not implying direct_self_opt here because it seems to be a bad idea. |
327 DEFINE_implication(experimental_profiler, retry_self_opt) | 327 DEFINE_implication(experimental_profiler, retry_self_opt) |
328 DEFINE_implication(experimental_profiler, interrupt_at_exit) | 328 DEFINE_implication(experimental_profiler, interrupt_at_exit) |
329 DEFINE_implication(experimental_profiler, weighted_back_edges) | 329 DEFINE_implication(experimental_profiler, weighted_back_edges) |
330 | 330 |
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
796 #undef DEFINE_bool | 796 #undef DEFINE_bool |
797 #undef DEFINE_int | 797 #undef DEFINE_int |
798 #undef DEFINE_string | 798 #undef DEFINE_string |
799 #undef DEFINE_implication | 799 #undef DEFINE_implication |
800 | 800 |
801 #undef FLAG_MODE_DECLARE | 801 #undef FLAG_MODE_DECLARE |
802 #undef FLAG_MODE_DEFINE | 802 #undef FLAG_MODE_DEFINE |
803 #undef FLAG_MODE_DEFINE_DEFAULTS | 803 #undef FLAG_MODE_DEFINE_DEFAULTS |
804 #undef FLAG_MODE_META | 804 #undef FLAG_MODE_META |
805 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 805 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |