OSDN Git Service

Don't be so agressive in quering the code cache for new methods
authorCalin Juravle <calin@google.com>
Mon, 14 Mar 2016 17:32:49 +0000 (17:32 +0000)
committerCalin Juravle <calin@google.com>
Fri, 22 Apr 2016 14:51:07 +0000 (15:51 +0100)
commit59ff8cb690d1928e6788e4f831af6c6dde8f9ed5
treec94993ecc20d1bbeaca397b3964e58d169a00ede
parentf7cda8088ec57ab1422f85f08df78e217a9f7094
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
runtime/jit/profile_saver.cc