Don't be so agressive in quering the code cache for new methods

Interim fix for apps which JIT a lot and trigger a lot of I/O because of
profile data (e.g. gmscore).

This reduces the amount of data re-written to disk by a few order of
magnitude. (e.g. 43k instead of 3.5MB)

Proper fix which will make the writing smarter is coming.

Bug:27600652

(cherry picked from commit 815759a8194fc94c9d9e6e081c99bee38792ba91)

Change-Id: I28c14369ba6728acb42d4de7cb65df39791fb2a1
1 file changed