commit | 1130659b0d948806e7ca974ead8ad2bcc1951d13 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Fri Oct 26 14:22:59 2018 +0100 |
committer | Vladimir Marko <vmarko@google.com> | Tue Oct 30 10:20:32 2018 +0000 |
tree | 9046a016fafc7f9bff4e34732aa8f89ed81ad46c | |
parent | 1c1442a498fd3f9ddc5d2bb04baa7ccd2d3539c4 [diff] |
Refactor MemMap::MapAnonymous(). Remove the address argument from the shortcut overload and introduce one more shortcut overload. This makes it easier to find all uses where we pass non-null address hint. Remove `requested_begin` parameter from some constructors where we were always passing null. Rewrite some tests to use the reservation API. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 118408378 Change-Id: Ibbbb96667e7cc11cf7fea119892463d8dbc9a8b5