diff options
author | Calin Juravle <calin@google.com> | 2019-11-12 20:27:49 -0800 |
---|---|---|
committer | Calin Juravle <calin@google.com> | 2019-11-15 17:35:33 +0000 |
commit | 8cdcd4fab6ffd88a6814016249ae85b5be67aba7 (patch) | |
tree | b3d75b276363fd355995db80dbda3d397c9d1e57 /compiler/optimizing/graph_visualizer.cc | |
parent | 4813618470e48290ba92a5944a2896fccd8aa3a4 (diff) |
Increase the maximum allowed dex files for boot image profiles
Boot image profiles aggregate data from a lot of apps and could easily
exceed the previous 255 dex file limit. In general a boot profile may
contain number_of_bootclasspath_elems * number_of_apps_on_device dex
files.
To cope up with this, we increase the max allowed number of dex files to
2^16. The regular profiles will keep the same low limit (255) to save ram
and space.
A side effect of this change is that in-memory representation of boot
profiles during serialization increases substantially. However, we merge
boot profiles only during idle-maintenance mode and we can afford a higher
ceiling.
Test: profile test
Bug: 139884006
Change-Id: Icdfdac8f2e4c2935692beacc8037911b64461eee
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions