Chromium Code Reviews| Index: runtime/vm/code_generator.cc |
| diff --git a/runtime/vm/code_generator.cc b/runtime/vm/code_generator.cc |
| index 7150d3dd2496c1717bc25ca54800cbc3daa36d87..3f7a7874fe8c5894b93089a0ecf01c54e381feae 100644 |
| --- a/runtime/vm/code_generator.cc |
| +++ b/runtime/vm/code_generator.cc |
| @@ -35,6 +35,10 @@ DEFINE_FLAG(int, max_subtype_cache_entries, 100, |
| "Maximum number of subtype cache entries (number of checks cached)."); |
| DEFINE_FLAG(int, optimization_counter_threshold, 30000, |
| "Function's usage-counter value before it is optimized, -1 means never"); |
| +DEFINE_FLAG(int, optimization_counter_scale, 2000, |
|
kasperl
2014/08/29 10:52:26
2269
|
| + "The scale of invocation count, by size of the function."); |
| +DEFINE_FLAG(int, min_optimization_counter_threshold, 5000, |
|
Vyacheslav Egorov (Google)
2014/08/29 11:17:18
Just move these flags to the file where they are u
Anders Johnsen
2014/08/29 11:56:27
Done.
|
| + "The minimum invocation count for a function."); |
| DEFINE_FLAG(charp, optimization_filter, NULL, "Optimize only named function"); |
| DEFINE_FLAG(int, reoptimization_counter_threshold, 4000, |
| "Counter threshold before a function gets reoptimized."); |