summaryrefslogtreecommitdiff
path: root/runtime/runtime.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2018-08-24 09:02:28 +0100
committer Vladimir Marko <vmarko@google.com> 2018-08-24 09:40:56 +0100
commitf6985bd84b27b25e2c2ae1b865a4f28a0ccd578b (patch)
tree5ec94a773e2c7e19842b1f2de02baf4343aff6c9 /runtime/runtime.cc
parent19759b28bc9dad1581c207d76227eb74fc8eebcb (diff)
Add an overload for MemMap::MapAnonymous().
Add an overload that does not take `reuse` or `use_ashmem` parameters but uses default values (`reuse = false` and `use_ashmem = true`) to simplify callers. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Change-Id: Iaa44f770dee7e043c3a1d6867dfb0416dec83b25
Diffstat (limited to 'runtime/runtime.cc')
-rw-r--r--runtime/runtime.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/runtime/runtime.cc b/runtime/runtime.cc
index 9248bb928c..30d45871ff 100644
--- a/runtime/runtime.cc
+++ b/runtime/runtime.cc
@@ -1167,7 +1167,6 @@ bool Runtime::Init(RuntimeArgumentMap&& runtime_options_in) {
kPageSize,
PROT_NONE,
/* low_4g */ true,
- /* reuse */ false,
/* error_msg */ nullptr);
if (!protected_fault_page_.IsValid()) {
LOG(WARNING) << "Could not reserve sentinel fault page";