commit | b08f305b2514f26bfeb54072191f5336e1f37a1e | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Tue Feb 02 17:24:39 2016 -0800 |
committer | Mathieu Chartier <mathieuc@google.com> | Tue Feb 02 17:55:03 2016 -0800 |
tree | baf68f0ae875c616b5f781ee2072c7642de1842d | |
parent | 88df4892c8b48de3019fd48c2ea2f49cf8eed098 [diff] |
Prevent crashes if boot images fail to load We now reset the requested_alloc_space_begin so that there are no gaps between any boot images and the non moving space. Also clear boot_image_spaces so that ClassLinker::InitFromBootImage is not called. Finally, delete image spaces so that the maps and oat files are unmapped. Bug: 26913820 (cherry picked from commit 1e5ff87e774fdbd46efb1d2f61b1b2ab80145a19) Change-Id: Ia31937f29ef217eac083165dfff37cd068fbd32b