add real mallinfo implementation for Android

Android Q uses the mallinfo implementation in the ART GC:

c220f98180
1575267302
This commit is contained in:
Daniel Micay 2019-04-06 20:49:52 -04:00
parent 7acebaa837
commit 350d0e5fd2
5 changed files with 96 additions and 4 deletions

View file

@ -25,6 +25,7 @@ common_cflags = [
"-DFREE_SLABS_QUARANTINE_RANDOM_LENGTH=32",
"-DCONFIG_CLASS_REGION_SIZE=1073741824", // 1GiB
"-DN_ARENA=1",
"-DSTATS=false",
]
cc_defaults {