Save the JIT compiled code when the class isn't initialized yet.
When a class isn't initialized, we put resolution stubs to its
static methods. In order to fetch the compiled code at the point of
initialization, save it in the profiling info.
Bug: 119800099
Test: start an app, no JIT compilation of boot classpath methods
(cherry picked from commit 7989ac9ef0f50db26ce5844e7e6f9a659994c244)
Change-Id: Ic46ddbf2c69c6633a166194d8a28c22853f615c5
Merged-In: I32b947318dbcb1010c94a11b51ea39d992d247e3
5 files changed