diff options
author | Winson <chiuwinson@google.com> | 2020-02-21 10:44:58 -0800 |
---|---|---|
committer | Winson <chiuwinson@google.com> | 2020-02-25 14:10:25 -0800 |
commit | dec01d61300d530e69a6840c7def7be3a6956a37 (patch) | |
tree | 73cd00e9ab0d0e63c832672c9aebd2330ec2eaaf /opengl/java | |
parent | 04fd0366bde4dfef5b45c93e83b2e88aa94a3a84 (diff) |
Adjust AndroidPackage String interning
For the initial pass, everything was interned to take a
conservative approach.
But the time needed to intern every string has caused a significant
fixed cost every time the package is read from cache at boot.
This manually checks each string and removes interning from those
that are generally unique or don't have a significant benefit to
being interned.
Bug: 135203078
Bug: 141922546
Test: atest AndroidPackageParsingEquivalenceTest
Test: atest ScanTests
Test: atest PackageParserTest
Test: manual verify with PackageParsingPerfTest; see bug
Change-Id: I815bb92ec29d2ca38e8614d44937bc738599be55
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions