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>
Mon, 14 Mar 2016 19:29:45 +0000 (19:29 +0000)
commit815759a8194fc94c9d9e6e081c99bee38792ba91
tree4a2dbab67649c0aa075bc4babb504e4541be8fce
parent6ec2c6e54d301ef84ec0c064c310a153b9465aed
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
Change-Id: I7582bfab9abee6efebfe99da6979f7e118f82915
runtime/jit/profile_saver.cc