commit | 1b498727f79e85756a9eee86d31214393dc7002c | [log] [tgz] |
---|---|---|
author | David Brazdil <dbrazdil@google.com> | Tue Mar 31 11:37:18 2015 +0100 |
committer | David Brazdil <dbrazdil@google.com> | Tue Mar 31 16:36:31 2015 +0100 |
tree | 45c42ed6e28304e3ee9b713289fc32007f2faa06 | |
parent | ebbb1e322d8c89e69424a543faa03402e5b63673 [diff] |
ART: Same skip-compilation heuristic in both backends When deciding if a method should be compiled, Optimizing counts the DEX instructions while Quick approximates this figure as the size of the CodeItem. This patch modifies Optimizing to use the same logic so that the two backends reject the same set of methods. Change-Id: Icb12bf2977f948198df08d59f243532ec8c61783