commit | a0fc3265d460cfe5bb48ce00c46317520e686d0f | [log] [tgz] |
---|---|---|
author | Ben Gruver <bgruv@google.com> | Fri Sep 30 13:10:42 2016 -0700 |
committer | Ben Gruver <bgruv@google.com> | Fri Sep 30 13:24:23 2016 -0700 |
tree | c41ad7e4c01896ff9cc008615ea1d44ba329d183 | |
parent | 4f0cabfe1324fd42190df29245f33897510b74fd [diff] |
Reserve space in the char backing vector to prevent reallocations The pointers in image_filenames_ and oat_filenames can become invalidated if the char_backing_storage_ vector gets reallocated when adding strings. Test: mma test-art-host-gtest-dex2oat_test Change-Id: I82714468163ce49ce53953e6edcb57a17d46cdbb