commit | cc3171ab3af35b4e4ad5671d7425aa8a6bfcc5f3 | [log] [tgz] |
---|---|---|
author | Calin Juravle <calin@google.com> | Fri May 19 16:47:53 2017 -0700 |
committer | Calin Juravle <calin@google.com> | Mon May 22 19:00:04 2017 -0700 |
tree | ec2c8c37b4d4cb1c213aafd2e5ab41fb115fb241 | |
parent | 80dd30abe3fac52f6de4aec0543918d360f7d08a [diff] |
Use arena allocation for profiles By using our arena allocator we can madvise the memory used during profile processing right way. jemalloc may defer the release based on unpredictable native allocation. The other advantage of arenas is a much simpler way to measure the memory needed by profiles. Test: m test-art-host Test: manual inspection with meminfo and heaptrack Bug: 37711886 Change-Id: Ib656a8ac63600477ff553831087a83dc40d9c537