summaryrefslogtreecommitdiff
path: root/Android.bp
AgeCommit message (Collapse)Author
2022-02-18jemalloc: remove THP supportPark Ju Hyung
This is not explored on Android properly and no one should use it until proper scientific testing. Moreover, THP is broken with all recent Qualcomm devices due to speculative page faults. Change-Id: I1c1e4f296c7895f5288cdb816f42340ea85826b4 Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
2021-10-11Update Soong blueprint for jemalloc 5.2.1Danny Lin
Change-Id: Ie4dfe4cf9a3905914a685ec6761628e405512a9a
2021-02-12[LSC] Add LOCAL_LICENSE_KINDS to external/jemalloc_newBob Badour
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD SPDX-license-identifier-ISC SPDX-license-identifier-MIT legacy_unencumbered to: Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I08e4267e770abd308d9e044299821520098b10c2
2020-10-21Make vendor_ramdisk_available.Yifan Hong
Test: pass Bug: 156098440 Change-Id: Id07005539db17929f21cb7bb3e134d960e056db6
2020-04-30Bionic and kernel system include paths are no longer implicit.Martin Stjernholm
Test: Build and boot Bug: 153590472 Change-Id: Icd07ff407d3ddcbcfb2f3bb817e92f2c6d7b44d8
2020-01-24Export include for libjemalloc5 usage.Christopher Ferris
Before, libc was adding the include directories directly. Instead, add it to the export list to it can be added automatically. Bug: 137795072 Test: Build Change-Id: I2b715af91b0eef6adf26daea1a081e49e7d6ad9b
2020-01-22Make ramdisk_available.Yifan Hong
Test: pass Bug: 147347110 Change-Id: I95006f1b1667e1cf316b25f4ece153643ca31dfc
2019-05-06jemalloc5 supports native_bridgedimitry
The library can be included to binaries compiled for translated architectures. Bug: http://b/77159578 Test: make Change-Id: Ibc0440ec239d7dcd2c06f3630713e3c2be97cb02
2019-04-05Fix performance of multiple same size allocations.Christopher Ferris
It was found that keeping just a few allocations of the same size around (even up to only 3) increases the allocation time significantly. This appears to be because I set the minimum tcache entries to 1. Removing this and the performance comes mostly all of the way back. There is still some loss, but probably just due to a different bin layout than jemalloc 4.x. This does increase the PSS slightly for many processes. About 1MB in my trace runs. However, it increases the performance of most multiple allocations by a factor of three. Bug: 129743239 Test: Ran memory_replay on all traces. Test: Ran new bionic benchmarks to verify things get better. Change-Id: Iff41d5b5002919c4df03fcb7d742e501f9e38b8e
2018-12-04Prevent dependency cycle on linux_bionic due to system_shared_libs expansion.Roland Levillain
Test: Rely on ART (linux-bionic build target) postsubmit testing. Bug: 31559095 Change-Id: Ie911abd8ca173b231c03730c326de7777b97452c
2018-12-03 Prevent dependency cycle due to system_shared_libs expansionDan Willemsen
It was discovered that we were building some objects inconsistently due to an optimization in cc_library to only build objects once and use them for both the static and shared libraries. But static libraries didn't get system_shared_libs set automatically, and we didn't notice that we would have built the objects differently. So static libraries now get the default system_shared_libs, we allow adjusting that for static vs shared in a cc_library, and we disable the optimization if the linked libraries are configured differently between static and shared in a single cc_library. This triggers dependency cycles for static libraries that libc/libdl use, so fix those cycles here. Test: treehugger Change-Id: I75cd76db2366179c7e38578210db728e6181442c
2018-11-01Further updates to jemalloc code.Christopher Ferris
Add support for svelte. Add je_iterate support. Update some of the internals so that bad pointers in je_iterate do not crash. Test: Ran new bionic unit tests, ran libmemunreachable tests, booted system. Change-Id: I04171cf88df16d8dc2c2ebb60327e58b915b9d83
2018-09-14Add android extensions.Christopher Ferris
Bug: 62621531 Bug: 110158834 Test: Ran unit tests and benchmarks using libc. Change-Id: Ie13ab8510c42f96b58496b0ab7e4f8c3a9cd2c6d
2018-09-06Add bp file and generated files.Christopher Ferris
This does not add any android specific changes. Those will come in a follow-up cl. Test: Builds, and all unit tests pass on a hikey. Change-Id: Ibac11b324afeac93a0c93d19689be48458d56f56