OSDN Git Service

Ignore heap trim requests if we are the zygote
authorMathieu Chartier <mathieuc@google.com>
Mon, 8 Sep 2014 20:35:11 +0000 (13:35 -0700)
committerMathieu Chartier <mathieuc@google.com>
Mon, 8 Sep 2014 23:10:12 +0000 (16:10 -0700)
commit30cbbee37d9fcca1a39b3681434180102ee5251a
tree878d4aaeaf0a08f64d8c0b30ab80c40b70aaf019
parentb27285583ca40253b76010948420a91b45f79257
Ignore heap trim requests if we are the zygote

Done to prevent app launching lag due to sleep in heap trimmer
daemon.

Bug: 17310019

(cherry picked from commit f81bfa3e21c8a4e031505470ea954c93949cb30b)

Change-Id: I3942d465781218aa04f7edc899ea87aa091f3cf7
runtime/gc/heap.cc