commit | c43516682782065f42e53a88992ca1d84e94b859 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Fri Feb 11 14:18:46 2022 +0000 |
committer | Vladimir Marko <vmarko@google.com> | Mon Feb 14 14:37:36 2022 +0000 |
tree | 42483a37f3138e33950a7185d13585ae4845e1c5 | |
parent | f9625ecb097bf328e9bcc5cd27e0a776637a5991 [diff] |
Initialize image roots before GC in ImageWriter. Allow dex2oat to fail gracefully if the allocation fails. Put image roots, boot image live objects and dex caches to a bin with clean data. Keep roots for live objects even during a stage where GC cannot happen. Also some minor style cleanup and replacing `std::vector<>` with `dchecked_vector<>`. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Change-Id: If499a7a9806759026f13d06a9e1c0bb584c05899