The image for writing needn't be in low 4GB.
Fix the x86-64 host build.
Change-Id: I69d30933db2d42960c4f9ffdc937cb11e9635fa0
diff --git a/compiler/image_writer.cc b/compiler/image_writer.cc
index ba7e13f..9c9cdf2 100644
--- a/compiler/image_writer.cc
+++ b/compiler/image_writer.cc
@@ -232,7 +232,7 @@
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;