3 ms·
Jemalloc also is used by android bionic libc library
by flykespice 7mo ago
Jemalloc also is used by android bionic libc library
- tonfa 7mo agoDoesn't it depend on vendors/customization? Default is https://llvm.org/docs/ScudoHardenedAllocator.html https://llvm.org/docs/ScudoHardenedAllocator.html since Android 11 (2020).
- flykespice 7mo agoI don't know, that is probably the case I guess? I was recently debugging an app double-free segfault on my android 13 samsung galaxy A51 phone, and the internal stack trace pointed to jemalloc function calls (je_free).
- larsberg 7mo agoscudo has been the default allocator for Android since Android 11, and we are hoping to make it mandatory for the few remaining places that don't use it. Using an allocator without memory protections in 2026 (especially after we have closed nearly all known performance gaps with jemalloc) is really not a great choice.