commit | 167bc0b5275038cbe86112e1df12c8988aa6612e | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Tue Sep 13 15:11:50 2016 +0100 |
committer | Vladimir Marko <vmarko@google.com> | Thu Sep 15 15:35:01 2016 +0100 |
tree | fb2080cd9686de6b926f2e5e4157c551a0405b9b | |
parent | 8fb627442ec7330939c920076714eb120363f95e [diff] |
ARM: Try to emit branches early to save memory. Try to emit unexpanded branches when binding a Label to reduce the memory needed for Fixup dependencies. We use a simple heuristic to limit the time we spend trying but this heuristic is enough to resolve all branches in the emitted String.equals() intrinsic. Test: Run ART test suite on host and Nexus 6. Test: Manually check memory usage for a certain apk. Bug: 28603175 Change-Id: I362e07c2c1285ff609cf8df0a00b6b420729b9ce