commit | 84d49ccd79088eb9a9f423c0a96e3905468cfe7d | [log] [tgz] |
---|---|---|
author | Qiming Shi <qiming.shi@intel.com> | Thu Apr 24 15:38:41 2014 +0800 |
committer | Andreas Gampe <agampe@google.com> | Wed May 14 19:38:09 2014 -0700 |
tree | 30502e3c3f73000b2e49124cbd2da86d429036d8 | |
parent | 23d2b95b1d1c92898336a4ebf5c0281f79fb7581 [diff] |
ART: Resolve MAP_32BIT limitation in x86_64 Add checks that ensure when low4gb is set and an expected pointer is given the requested memory fits into 4GB. On x86_64, only use MAP_32BIT when there is no expected pointer. This avoids a limitation in mmap (only 2GB visible). Add tests to check behavior. Original Author: Qiming Shi <qiming.shi@intel.com> Change-Id: Ia2e3e0a46764ef70126b0c264f1fae681622d3cb