summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2012-05-09 17:45:01 -0700
committerElliott Hughes <enh@google.com>2012-05-09 17:45:01 -0700
commit259298d964e55be9f2afbd9e145311895ed920da (patch)
tree394ae931339bf3fb4e5f970059143c66862b2cfc
parent2b02fef409ebf91d3a9e6a624ab4f60ef540dbc9 (diff)
downloadandroid_dalvik-259298d964e55be9f2afbd9e145311895ed920da.tar.gz
android_dalvik-259298d964e55be9f2afbd9e145311895ed920da.tar.bz2
android_dalvik-259298d964e55be9f2afbd9e145311895ed920da.zip
Make sure we have room for future Maps builds.
They're worried that the Honeycomb increase to 8MiB won't last them very long. Bug: 6423582 Change-Id: I5f35add9f370548415c0a5e6aed42ec5bd943a03
-rw-r--r--vm/LinearAlloc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/LinearAlloc.cpp b/vm/LinearAlloc.cpp
index de49bf354..359893f64 100644
--- a/vm/LinearAlloc.cpp
+++ b/vm/LinearAlloc.cpp
@@ -69,7 +69,7 @@ guard the pages on debug builds. Handy when tracking down corruption.
#define BLOCK_ALIGN 8
/* default length of memory segment (worst case is probably "dexopt") */
-#define DEFAULT_MAX_LENGTH (8*1024*1024)
+#define DEFAULT_MAX_LENGTH (16*1024*1024)
/* leave enough space for a length word */
#define HEADER_EXTRA 4