commit | 2796a1669ae0f3b96db8432fbd8be1b93bf335c4 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Fri Jul 25 11:50:47 2014 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Fri Jul 25 11:54:07 2014 -0700 |
tree | fe73fdfc344333a33e1f6001b90d9649d6dfea1d | |
parent | d190d989ac92d2a5b9a342692564f40bd2080895 [diff] |
Fix main space memory leak and add checks. The hypothesis is that we were leaking the main space and its bitmaps, then eventually we would run out of virtual address space, which would cause a null bitmap (DCHECK). Finally when we tried adding the space with a null bitmap to the heap bitmap it segfaulted. Changed some non performance critical DCHECK -> CHECK. Bug: 16563323 Change-Id: I08a1f873752e28ebcf63ebbd90f92d994d7ca96b