aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/arm/ArchUtility.cpp
diff options
context:
space:
mode:
authorCharlie Groves <charlie.groves@gmail.com>2012-03-10 23:40:47 -0800
committerCharlie Groves <charlie.groves@gmail.com>2012-03-10 23:40:47 -0800
commit5094108bb410a24a89580d4c64b3440bc13e8110 (patch)
tree3f10edf00170a4a641fe7253eda11b3fe73c205c /vm/compiler/codegen/arm/ArchUtility.cpp
parentc1052f9a61539f212885555b0b2c110582f11e28 (diff)
Compact merged dexes on their byte aligned size
Previously, if a merged dex had too much free space, the compaction step would subtract the unused space from the section sizes generated by adding the merged dexes section sizes. The merged sizes weren't 4-byte aligned, which meant if a section had been bumped in size for the boundary, the compaction would fail when loading into a section eg 'Section limit 3665072 exceeded by string data'. This gets the compacted section size from the actual used space instead of from the non-aligned estimate, so everything fits. Change-Id: I1aee1abd721ec21998bb3ea78f6f424e7421b614
Diffstat (limited to 'vm/compiler/codegen/arm/ArchUtility.cpp')
0 files changed, 0 insertions, 0 deletions