OSDN Git Service

Always grow the limit address of the a heap along with its size.
authorCarl Shapiro <cshapiro@google.com>
Wed, 15 Jun 2011 03:51:45 +0000 (20:51 -0700)
committerCarl Shapiro <cshapiro@google.com>
Wed, 15 Jun 2011 03:51:45 +0000 (20:51 -0700)
commita028d87fb310eae8cac821183aa91567ec8cb0f9
treebe0f34ecf1b92bf9f1f7b5b59464f38e055c775a
parenta0739ea3040b578a53de817688ab5e9f17c0ce72
Always grow the limit address of the a heap along with its size.

Previously, clearing the growth limit only updated the maximumSize of
the unlimited heap without updating the limit value.  This caused any
operations iterated over the extent of the heap to ignore allocations
beyond the original heap size.  With this change the limit is always
kept in agreement with the maximumSize.

Bug: 4539441
Change-Id: I08c8004e724549d196e1fd5d6ad22efc85b0c8d2
vm/alloc/HeapSource.c