OSDN Git Service

Fix growth limit / footprint limit problems
authorMathieu Chartier <mathieuc@google.com>
Mon, 1 Dec 2014 21:40:48 +0000 (13:40 -0800)
committerMathieu Chartier <mathieuc@google.com>
Mon, 1 Dec 2014 21:43:34 +0000 (13:43 -0800)
commitd59c170057dcc213a858652abc71eec710898a41
tree663755e56fae525afd4e418b32522f8d818aa009
parentea1c3d77b92b30ec527f2ca5bfe316a882b698e0
Fix growth limit / footprint limit problems

We now properly clear the growth limit of all the spaces when
ClearGrowthLimit is called. Previously we didn't clear the growth
limit of the background space.

This wasn't caught by heap test since it only manifested itself
when we had a zygote space.

Bug: 18504942
Change-Id: Ibb3d76cba54a45ef755d7e2ced8c2e16cd2996b0
runtime/gc/heap.cc