commit | 86bc48f5ce1c93ae3af07a67a70b79647571516a | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Wed Jul 19 13:12:18 2017 +0100 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Wed Jul 19 13:12:18 2017 +0100 |
tree | 4dc33450b47094c7df19cd72495da3a14c199f2a | |
parent | 7fa0640bfb29ae9593f2e07516f4a2925fd0c54a [diff] |
Optimize use of "new DexFile" in vogar. new DexFile is very expensive, as ART will do a bunch of verifications on it. This CL caches DexFile objects in ClassPathScanner to avoid creating them again and again. test: run-libcore-tests.sh Change-Id: I75439bbfa8155124fe02ae65c297ff2615e55ee1