summaryrefslogtreecommitdiff
path: root/test/MultiDexModifiedSecondary/Second.java
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2021-01-22 10:11:13 +0000
committerVladimir Marko <vmarko@google.com>2021-01-28 10:14:09 +0000
commit151e23a09cc820584493e6c80daff762bb2f4d5d (patch)
tree8c53ddbfa62cf57ae33a638254f289bad3863278 /test/MultiDexModifiedSecondary/Second.java
parentf6510e4c9d5626049df3c21d457a4cea614f1c84 (diff)
Rewrite intern table construction in ImageWriter.
Make sure that intern tables in images are at maximum load factor (full) and make that maximum load factor independent of runtime parameters. As we pre-allocate an intern table buffer of the right size in ImageWriter, we also avoid unnecessary resizing of the temporary intern table. Instead of using InternTable::LookupStrong() for intern lookup, access the internal non-boot image intern table directly. This avoids unnecessary lookups in boot image intern tables and the intern table lock is locked only once instead of locking for each StringId in input dex files. Remove obsolete comment related to patchoat relocations. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Test: boots. Bug: 175869411 Change-Id: Ie74e1ac1b1b1d25add74edd38b7e1d70b6654ee3
Diffstat (limited to 'test/MultiDexModifiedSecondary/Second.java')
0 files changed, 0 insertions, 0 deletions