diff options
author | Ben Gruver <bgruv@google.com> | 2016-09-30 13:10:42 -0700 |
---|---|---|
committer | Ben Gruver <bgruv@google.com> | 2016-09-30 13:24:23 -0700 |
commit | a0fc3265d460cfe5bb48ce00c46317520e686d0f (patch) | |
tree | c41ad7e4c01896ff9cc008615ea1d44ba329d183 /compiler/optimizing/loop_optimization_test.cc | |
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
Diffstat (limited to 'compiler/optimizing/loop_optimization_test.cc')
0 files changed, 0 insertions, 0 deletions