Merge "Do not munmap dead pages." into lmp-dev
diff --git a/include/jemalloc/internal/chunk.h b/include/jemalloc/internal/chunk.h
index f3bfbe0..47bbccd 100644
--- a/include/jemalloc/internal/chunk.h
+++ b/include/jemalloc/internal/chunk.h
@@ -5,7 +5,11 @@
* Size and alignment of memory chunks that are allocated by the OS's virtual
* memory system.
*/
+#if defined(__ANDROID__)
+#define LG_CHUNK_DEFAULT 20
+#else
#define LG_CHUNK_DEFAULT 22
+#endif
/* Return the chunk address for allocation address a. */
#define CHUNK_ADDR2BASE(a) \