commit | 741c9fab3531a0157e1f51e3fc22466145ba15fa | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Jun 08 15:51:32 2012 -0700 |
committer | Elliott Hughes <enh@google.com> | Fri Jun 08 15:51:32 2012 -0700 |
tree | 1607d821ee40e56dd08fb06be04b6962c26f9af1 | |
parent | a8454bd4dc137513f3d4d3f69922165804aa7419 [diff] |
Fix ddms heap monitoring. The bug was that the struct malloc_chunk 'head' field only contains a chunk length if the bottom bits signify that the chunk is actually in use. But rather than fix our logic, we can just call mspace_usable_size. Change-Id: I10648f0486c19555061d0e4772668528dd8f076b