commit | ec32f6402382303608544fdac5a88067781bdec5 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Fri Jun 02 10:51:55 2017 +0100 |
committer | Vladimir Marko <vmarko@google.com> | Fri Jun 02 11:00:59 2017 +0100 |
tree | 5a8cddd783a86d3ecb9c3565e65f8fad91e93ada | |
parent | 8144b1ebea42feaa798419eaf53a6bbbf37822a9 [diff] |
Delay allocating environment locations. Many environments are killed before we get to the register allocation, so the early allocation of their locations was simply wasting memory. For the most expensive method of a certain app, this reduces EnvLocations with 64-bit dex2oat from 8657200 to 5339712 (-3.16MiB). Test: m test-art-host Test: testrunner.py --host Bug: 33650849 Change-Id: I70a02fc3c7ec87b54a87e989e1239dc4acfcf18b