commit | afc10e174d73363185f42cb67ec429a64549f2c7 | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Fri Feb 22 09:40:58 2013 -0800 |
committer | Ian Rogers <irogers@google.com> | Fri Feb 22 09:40:58 2013 -0800 |
tree | 4424b624778bfaab41d73486ec088fa048bcdaf0 | |
parent | 49999acb049e09f99135e412cbb10d7367d2d607 [diff] |
Account malloc mmaped pages as native heap. Currently when malloc uses a page rather than brk the heap gets accounted as ashmem memory. Previously the memory would be accounted as unknown but since [1] it gets accounted as ashmem. This change makes the accounting see this memory as being native, ie the same kind of memory we associate with brk. [1] https://android-review.googlesource.com/#/c/49583/3 Change-Id: I6f496cfeb590268d41d8e047b12cd5c90359e2b0