mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2024-12-24 06:59:25 -05:00
enable CONFIG_STATS by default for Android
The tiny performance cost might as well be accepted now because this will be needed for Android Q. It's also quite possible that some apps make use of the features based on this including malloc_info.
This commit is contained in:
parent
d4b8fee1c4
commit
34b6754f70
@ -27,7 +27,7 @@ common_cflags = [
|
|||||||
"-DFREE_SLABS_QUARANTINE_RANDOM_LENGTH=32",
|
"-DFREE_SLABS_QUARANTINE_RANDOM_LENGTH=32",
|
||||||
"-DCONFIG_CLASS_REGION_SIZE=1073741824", // 1GiB
|
"-DCONFIG_CLASS_REGION_SIZE=1073741824", // 1GiB
|
||||||
"-DN_ARENA=1",
|
"-DN_ARENA=1",
|
||||||
"-DCONFIG_STATS=false",
|
"-DCONFIG_STATS=true",
|
||||||
]
|
]
|
||||||
|
|
||||||
cc_defaults {
|
cc_defaults {
|
||||||
|
Loading…
Reference in New Issue
Block a user