diff options
author | 2021-05-20 15:14:25 -0700 | |
---|---|---|
committer | 2021-05-24 20:05:49 +0000 | |
commit | 61ffd049d8d6946ba52884a8f679dde0e3a6654d (patch) | |
tree | 6ce3787caae6d00bfb30165786fe40d42a86e045 /runtime/native/java_lang_Thread.cc | |
parent | 6d8d68efbe2101e2d5fdf078556cbc1f286c37c7 (diff) |
Make the runtime option -Ximage a ParseStringList
Previously, the string spliting is done in multiple code locations,
including ImageSpace::BootImageLayout::LoadOrValidate and
GetPrimaryImageLocation (which may be called multiple times).
This change converts the -Ximage option from a string into a
ParseStringList<':'>.
It may be worth pointing out that this doesn't change the current code
expectation that each image can have a profile (e.g.
"/path/to/foo.art!/some/profile.prof").
There is a later plan to introduce new options of boot image fds with
ParseIntList<':'>. This change would make them more consistent.
Bug: 187327262
Test: boot looks normal
Test: dexopt looks normal
Test: TH
Change-Id: I82657cb725cda2d3b782cbe7a6e6d9a871e80ee7
Diffstat (limited to 'runtime/native/java_lang_Thread.cc')
0 files changed, 0 insertions, 0 deletions