commit | d44d70354a883e6972a93d2623a55840ced8a73a | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Thu Aug 30 13:02:31 2018 +0100 |
committer | Vladimir Marko <vmarko@google.com> | Fri Aug 31 11:50:56 2018 +0100 |
tree | 45bab15b5832c3af2af135065e27f4499df5f1dd | |
parent | c09cd0513b860c4301ca7bd6a9065b583d102295 [diff] |
Pre-allocate necessary heap space with boot image. Previously we relied on a subsequent mmap to succeed without prior memory reservation. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Test: Pixel 2 XL boots. Test: m test-art-target-gtest Test: testrunner.py --target --optimizing Test: Repeat the above with ART_USE_READ_BARRIER=false. Bug: 77856493 Change-Id: I1e433b1b6fecd0f908c7ea079f74361e27a78f0a