diff options
author | Qiming Shi <qiming.shi@intel.com> | 2014-04-24 15:38:41 +0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-05-14 19:38:09 -0700 |
commit | 84d49ccd79088eb9a9f423c0a96e3905468cfe7d (patch) | |
tree | 30502e3c3f73000b2e49124cbd2da86d429036d8 /compiler/driver/compiler_driver_test.cc | |
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
Diffstat (limited to 'compiler/driver/compiler_driver_test.cc')
0 files changed, 0 insertions, 0 deletions