diff options
author | Ian Rogers <irogers@google.com> | 2014-08-14 08:53:12 -0700 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2014-08-14 16:20:20 +0000 |
commit | 3cd86d607cb53e22a90ef43bf7d5a4f93f6c5575 (patch) | |
tree | c7c48cf0294dcadd579f3d1e5260a36e44bf5953 /compiler/image_writer.cc | |
parent | 0e084053066d9d8d362c130009e9234baea12e34 (diff) | |
download | android_art-3cd86d607cb53e22a90ef43bf7d5a4f93f6c5575.tar.gz android_art-3cd86d607cb53e22a90ef43bf7d5a4f93f6c5575.tar.bz2 android_art-3cd86d607cb53e22a90ef43bf7d5a4f93f6c5575.zip |
The image for writing needn't be in low 4GB.
Fix the x86-64 host build.
Change-Id: I69d30933db2d42960c4f9ffdc937cb11e9635fa0
Diffstat (limited to 'compiler/image_writer.cc')
-rw-r--r-- | compiler/image_writer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/image_writer.cc b/compiler/image_writer.cc index ba7e13f815..9c9cdf2700 100644 --- a/compiler/image_writer.cc +++ b/compiler/image_writer.cc @@ -232,7 +232,7 @@ bool ImageWriter::AllocMemory() { size_t length = RoundUp(Runtime::Current()->GetHeap()->GetTotalMemory(), kPageSize); std::string error_msg; image_.reset(MemMap::MapAnonymous("image writer image", NULL, length, PROT_READ | PROT_WRITE, - true, &error_msg)); + false, &error_msg)); if (UNLIKELY(image_.get() == nullptr)) { LOG(ERROR) << "Failed to allocate memory for image file generation: " << error_msg; return false; |