commit | 4cb48c1bd359bee98a1a4c0cff475d76a3b5483a | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Tue Aug 27 17:08:11 2019 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Thu Aug 29 01:37:05 2019 +0000 |
tree | f017f7d687f94c4bd2f895a434a46185c03f0063 | |
parent | 49484076e86b75b3449e18cc6827bd0a94ef1300 [diff] |
Fix profile saver hotness for AOT code If the counter is larger than the warm threshold, mark the method as hot. This fixes a bug for profiling arleady compiled methods where they would not be marked as hot no matter what the counter was. Also removed unused functions, and reverted HasSeenMethod to verify that the method is hot. Bug: 139883463 Test: test-art-host Change-Id: I243e528e9f06da7223eed9b91ad613d4f1ad9524