commit | f9ae8e35fe913bbe31fa53f00a8c4f0e071b25de | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Tue Feb 15 22:54:11 2022 +0000 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Fri Mar 18 14:42:59 2022 +0000 |
tree | ae12648fdf37f9da5211724a1dd0deff28b1c802 | |
parent | 3dd6219114a05134d9b670053279c084fb19fb74 [diff] |
Implement shared counters for boot image / zygote methods. Add a thread-local counter which the interpreter increments. When hitting zero, the interpreter goes into the runtime and updates a map of counters. If the counter for the particular method hits a threshold, we JIT it. Test: test.py Test: imgdiag looking at boot.art Bug: 162110941 Change-Id: I6493332eafc51856494ef20592ca83bc716c994e