commit | feb1464d5e9d7d9c6f2d181fd146775a353b80d6 | [log] [tgz] |
---|---|---|
author | Dominic Chen <daming_chen@apple.com> | Fri Dec 09 17:22:38 2022 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Dec 12 16:15:58 2022 -0800 |
tree | 53b3ee351af91de5bcb2e6cbbb5aa3ef08584d9a | |
parent | 18b403804dc8a18693c604f45565a65518536b50 [diff] |
[scudo] Optimize scudo test string allocation When the underlying vector becomes full, it resizes, remaps, and then copies over the old data. To avoid thes excess allocations, allow reservation from the backing vector. Differential Revision: https://reviews.llvm.org/D135119 GitOrigin-RevId: 119f977d9e3f8af9f5ac54270e828e354452f903 Change-Id: I33e6d3008cd19c5b0410703b7319e5b12d14fe8e