OSDN Git Service

Use the global maximum to compute the size of a new mspace.
authorCarl Shapiro <cshapiro@google.com>
Wed, 2 Feb 2011 04:19:04 +0000 (20:19 -0800)
committerCarl Shapiro <cshapiro@google.com>
Wed, 2 Feb 2011 04:19:04 +0000 (20:19 -0800)
commite7bf56c584b8b2c3d60f79a27a4a2e9a6b1e2f22
treec8d83e14943b34e1fcaaecd08b7b2b6521a40a36
parent1559b8fd63ec99ff3c00aa4588e6debe87367615
Use the global maximum to compute the size of a new mspace.

The global maximum was used for the initial specificaion but a local
maximum was used for post-Zygote mspace creations.  This prevented a
clearing of the growth limit from having the intended effect.

Bug: 3414804
Change-Id: I47e0c1510f2212849e3b738c5578bbd7b1aff27d
vm/alloc/HeapSource.c