commit | 27c84b64bdd3302d8260c6f330513e484d97fc98 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Fri Jul 25 10:13:51 2014 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Fri Jul 25 11:43:20 2014 -0700 |
tree | c5370567a07078c73559ca0f642b0717a80fe413 | |
parent | c0dcf29143051cf34d6c032a7b385ac4579bd4ec [diff] |
Fix dangling pointer bug when transitioning to background. Dangling pointer left behind from the old rosalloc / dlmalloc spaces. We now avoid using this pointer by using main_space_ and non_moving_space_ as well as clear the pointer when we remove the space. Bug: 16567203 (cherry picked from commit 00b5915828f89daaefd9e8fb215658360f76762c) Change-Id: I5962929e4a0bb4db6f531d25ee322da7ab3f5dd4