summaryrefslogtreecommitdiffstats
path: root/runtime/mem_map.cc
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-03-21 17:25:57 -0700
committerAndreas Gampe <agampe@google.com>2014-03-21 17:25:57 -0700
commit9de65ff3a9c49b91d80be292020f012f3d0a24ef (patch)
treebf19a3f908d438e81bd549b895ba84f5d3dd4536 /runtime/mem_map.cc
parent6a3fe330227f2192f6ce97915d62f46247f89378 (diff)
downloadart-9de65ff3a9c49b91d80be292020f012f3d0a24ef.zip
art-9de65ff3a9c49b91d80be292020f012f3d0a24ef.tar.gz
art-9de65ff3a9c49b91d80be292020f012f3d0a24ef.tar.bz2
Fixes to mem_map wraparound and ARM64 quick_invoke assembly
There are only 6 free GPRs for passing in a non-static invoke. This corrupted one register for long-signature methods. The wrap-around did not actually wrap around correctly. Change-Id: I62658dadeb83bb22960b9455e211d26ffaa20f6f
Diffstat (limited to 'runtime/mem_map.cc')
-rw-r--r--runtime/mem_map.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/mem_map.cc b/runtime/mem_map.cc
index 0af25e7..9f01189 100644
--- a/runtime/mem_map.cc
+++ b/runtime/mem_map.cc
@@ -143,7 +143,7 @@ MemMap* MemMap::MapAnonymous(const char* name, byte* expected, size_t byte_count
// Not enough memory until 4GB.
if (first_run) {
// Try another time from the bottom;
- next_mem_pos_ = LOW_MEM_START;
+ ptr = LOW_MEM_START - kPageSize;
first_run = false;
continue;
} else {