Compile dlmalloc
Opened this issue · 0 comments
DmitrySkiba commented
Currently dlmalloc is not compiled, and related code ifdefed out with ART_USE_DLMALLOC_ALLOCATOR
. Starting with Android 5.1 "hspace compaction on OOM" is enabled by default, which makes Heap
class constructor to use dlmalloc codepath (and fail). For now problem is worked around by specifying -XX:DisableHSpaceCompactForOOM
to dex2oat / dalvikvm invocations, but we need to bring in dlmalloc.