diff options
author | Mathieu Chartier <mathieuc@google.com> | 2016-02-02 17:24:39 -0800 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2016-02-02 17:55:03 -0800 |
commit | b08f305b2514f26bfeb54072191f5336e1f37a1e (patch) | |
tree | baf68f0ae875c616b5f781ee2072c7642de1842d /compiler/optimizing/graph_visualizer.cc | |
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
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions