summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Main.java
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2021-01-15 10:04:45 +0000
committerVladimir Marko <vmarko@google.com>2021-01-19 09:11:51 +0000
commit4c796aad94ecf594d3e792da4e5d2424638791da (patch)
tree466b796ded30a136713b7b2756e8fa6d5db6dafb /test/ProfileTestMultiDex/Main.java
parentdd732cc38f57844bfcedc5687d4b66df7102f31f (diff)
Rewrite class table construction in ImageWriter.
Make sure that class tables in images are at maximum load factor (full) and make that maximum load factor independent of runtime parameters. As we pre-allocate a class table buffer of the right size in ImageWriter, we also avoid unnecessary resizing of the temporary class table. Make sure that app image class tables are deterministic. We previously just copied the class table from the app class loader even though some entries may have been inserted there during multi-threaded phases of the compilation, causing non-deterministic contents based on insertion order. Remove obsolete comment related to patchoat relocations. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Test: boots. Bug: 175869411 Change-Id: I605048b639f67a5ed4b03eb8888cbaafa9ba4091
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions