summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-09-06Merge tag 'android-13.0.0_r2' into HEADtachibana-mr1tachibanaalk3pInjection
Android 13.0.0 Release 2 (TP1A.220624.021) # -----BEGIN PGP SIGNATURE----- # # iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCYvp5fQAKCRDorT+BmrEO # eImbAJ0dpRyJrdS8Mj08osBvFAKph/4/egCgktm6CLz5TnFBZSlgiJoSPcCY+38= # =MgJL # -----END PGP SIGNATURE----- # gpg: Signature made Tue 16 Aug 2022 12:51:09 AM HKT # gpg: using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78 # gpg: Can't check signature: No public key Change-Id: Ie916049edaa3e97b39a5cd759223daeffd81375e
2022-06-30jemalloc: enable MADV_FREE usageJuhyung Park
This is only supported with Linux v4.5+ but we don't support devices that old Change-Id: Ib8e8569100a5e65b06265281695bf09afecd8c05 Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
2022-06-30jemalloc: always assume overcommitting memoryPark Ju Hyung
Minor optimization Change-Id: I5be07492bad39e8b358cb6f820d5c580d560c829 Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
2022-06-30jemalloc: 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>
2022-06-30jemalloc: disable config parsing altogetherPark Ju Hyung
This is never used on Android. Remove it for faster initialization and lighter libc.so. Change-Id: Ifa54266b3d488f0b4a6301274ff114431fbe4112 Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
2022-06-30jemalloc: remove deprecated size_classes.hPark Ju Hyung
Change-Id: Ied009ae74ea123e31e49890eb2d12bef5c547572 Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
2022-05-08Update Soong blueprint for jemalloc 5.2.1Danny Lin
Change-Id: Ie4dfe4cf9a3905914a685ec6761628e405512a9a
2022-05-08Update Android extension functions for jemalloc 5.2.1Danny Lin
malloc_iterate and mallinfo need to be updated to accomodate upstream changes. Change-Id: Iae187f1ca442e0f8c3041ed67474d7d979085b0b
2022-05-08Regenerate configs for 5.2.1 updateDanny Lin
Change-Id: I3774ce46655d526e1aea2741711d96ec2613f977
2022-05-08Fix typo in tcache stats checkDanny Lin
Change-Id: I1682acb9b57f6de4bacd4c69d55b21a96cc09d5b
2022-05-08Merge tag '5.2.1' into HEADDanny Lin
Release Change-Id: I269b861cb81499b78f13dc2e88827f13ef5a207d
2022-03-16Snap for 8303774 from b0dbd53706069619146ce04c7fc34ab08936334d to tm-releaseAndroid Build Coastguard Worker
Change-Id: I818ee662cc13ad372c3f6635586bf784407b50c6
2022-03-14Tweak linux_glibc properties for musl builds in external/jemalloc_new am: ↵Colin Cross
6922f4491d am: b3d247b675 am: 9bf8eb3e0e Original change: https://android-review.googlesource.com/c/platform/external/jemalloc_new/+/2019081 Change-Id: If3f738a33b5798fb515a6bfb3da25a3cf9cfa54a
2022-03-14Tweak linux_glibc properties for musl builds in external/jemalloc_new am: ↵Colin Cross
6922f4491d am: b3d247b675 Original change: https://android-review.googlesource.com/c/platform/external/jemalloc_new/+/2019081 Change-Id: I8ad4999a39d1adf61b752c392a7114fb666f5584
2022-03-14Tweak linux_glibc properties for musl builds in external/jemalloc_new am: ↵Colin Cross
6922f4491d Original change: https://android-review.googlesource.com/c/platform/external/jemalloc_new/+/2019081 Change-Id: I3462fdb6ba8da270a2d387f54135f791abf6f3c3
2022-03-08Tweak linux_glibc properties for musl builds in external/jemalloc_newColin Cross
For convenience, builds against musl libc currently use the linux_glibc properties because they are almost always linux-specific and not glibc-specific. In preparation for removing this hack, tweak the linux_glibc properties by either moving them to host_linux, which will apply to linux_glibc, linux_musl and linux_bionic, or by setting appropriate musl or linux_musl properties. Properties that must not be repeated while musl uses linux_musl and also still uses the linux_glibc properties are moved to glibc properties, which don't apply to musl. Whether these stay as glibc properties or get moved back to linux_glibc later once the musl hack is removed is TBD. Bug: 223257095 Test: m checkbuild Test: m USE_HOST_MUSL=true host-native Change-Id: Ia3fd92d2f3494d64a7565d8016ff9aa09574e086
2022-01-06Snap for 8046958 from ee7f8914962bcc6fbbb76a692b1a9a5d4f8b5333 to tm-releaseAndroid Build Coastguard Worker
Change-Id: I9ac1c97512a6034bb6236a0207a6f87dbab3d384
2022-01-05Disable je_* renaming for integration tests am: 6412c82128 am: 151e191e01 ↵Colin Cross
am: d5360715e0 am: 6328b3cf84 Original change: https://android-review.googlesource.com/c/platform/external/jemalloc_new/+/1931392 Change-Id: I5816f376c6e245cbed03c442fbc4570a52903af0
2022-01-05Disable je_* renaming for integration tests am: 6412c82128 am: 151e191e01 ↵Colin Cross
am: d5360715e0 Original change: https://android-review.googlesource.com/c/platform/external/jemalloc_new/+/1931392 Change-Id: Ia01aa96ae238078d8462330f077cfcc20fe09a64
2022-01-05Disable je_* renaming for integration tests am: 6412c82128 am: 151e191e01Colin Cross
Original change: https://android-review.googlesource.com/c/platform/external/jemalloc_new/+/1931392 Change-Id: If25814cf37c195ec79b5557333aea213c365d88c
2022-01-05Disable je_* renaming for integration tests am: 6412c82128Colin Cross
Original change: https://android-review.googlesource.com/c/platform/external/jemalloc_new/+/1931392 Change-Id: I4d83de70f07bac67a6b3c2b78f6cd74741232773
2021-12-21Disable je_* renaming for integration testsColin Cross
The integration tests fail to build with musl because the je_* declarations use __attribute__(nothrow), which doesn't match the declarations in musl. When the je_* declarations are renamed to remove the je_ suffix, they collide with the musl declarations and fail with: external/jemalloc_new/include/jemalloc/jemalloc.h:197:28: error: exception specification in declaration does not match previous declaration void JEMALLOC_NOTHROW *je_malloc(size_t size) ^ external/jemalloc_new/include/jemalloc/jemalloc_rename.h:38:21: note: expanded from macro 'je_malloc' ^ external/musl/include/stdlib.h:42:7: note: previous declaration is here void *malloc (size_t); ^ Set JEMALLOC_NO_RENAME for the integration tests so they use the je_* names. This will also avoid the tests accidentally calling the libc methods. Bug: 190084016 Test: m USE_HOST_MUSL=true jemalloc_integrationtests_basic Test: out/host/linux-x86/nativetest/jemalloc5_integrationtests/basic Change-Id: Iddc7e0f9ecb688487484ed413ad8c81ce548cc5f
2021-07-29Snap for 7592596 from 4526f2dd482d45160973f6b6d2d3162437b30a7a to tm-releaseAndroid Build Coastguard Worker
Change-Id: I66dc3c957c468e26ed05a5b855d99be171d86023
2021-07-28Support compiling libjemalloc5 against musl am: 7326a7c470 am: 727713db35 ↵Colin Cross
am: ff4e3653d8 am: bf5247daad Original change: https://android-review.googlesource.com/c/platform/external/jemalloc_new/+/1776846 Change-Id: I91f173ec07e138be8fd1357eda47c81fa2434b94
2021-07-28Support compiling libjemalloc5 against musl am: 7326a7c470 am: 727713db35 ↵Colin Cross
am: ff4e3653d8 Original change: https://android-review.googlesource.com/c/platform/external/jemalloc_new/+/1776846 Change-Id: I8d68a01b2f70349618ec199681140e2160ddacd6
2021-07-28Support compiling libjemalloc5 against musl am: 7326a7c470 am: 727713db35Colin Cross
Original change: https://android-review.googlesource.com/c/platform/external/jemalloc_new/+/1776846 Change-Id: I2d551e55038906c2005fb5596e7b70fc9997dd78
2021-07-28Support compiling libjemalloc5 against musl am: 7326a7c470Colin Cross
Original change: https://android-review.googlesource.com/c/platform/external/jemalloc_new/+/1776846 Change-Id: I2697e627273c1073073cce8634bb13ca7c3195fd
2021-07-23Support compiling libjemalloc5 against muslColin Cross
Musl in the Android platform is configured to use libjemalloc5 by default as the built-in malloc causes a segfault when running aprotoc. Fix a build error that assumes pthread_t is an unsigned long when initializing it to zero. Adjust the host configuration to work with musl. Bug: 190084016 Test: m out/soong/host/linux-x86/bin/aprotoc && out/soong/host/linux-x86/bin/aprotoc Change-Id: I5b5d5226744817b8705d58f6b71cf6c62b128eee
2021-06-03Snap for 7418644 from dcf88de01aedd27b280d54c7722951ee54f33f9d to tm-releaseandroid-build-team Robot
Change-Id: I379ea041dfac9968ecdf276655ae0fbcfeec91ab
2021-06-02Merge sc-mainline-prodXin Li
Bug: 189946434 Change-Id: I1081331ecd104285375a459c3d6dbcce0df1a170
2021-02-21Snap for 7160100 from 1e2cba7ba8628d129f9da254264e81ce12ac0f3f to tm-releaseandroid-build-team Robot
Change-Id: Ib1909437770e6fbb5cac7d9a0855fb6230dfbf3d
2021-02-21Snap for 7160059 from 517ee63ccd3b2819ca8d6930d837b0ab1f54e3c2 to sc-v2-releaseandroid-build-team Robot
Change-Id: Ic692f219b4157e7eecd7bf865d382e8fadd80c5f
2021-02-20[automerger skipped] Mark ab/7061308 as merged in stage. am: 8b28ac89b2 -s ↵Xin Li
ours am: 13cbf156c1 -s ours am: 517ee63ccd -s ours am skip reason: Change-Id I35e35d979fb8aea7926cfa2ea8f5fa084287b7bd with SHA-1 ad8f39c73d is in history Original change: undetermined MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ib25600b65507ea277f7c894ed22920f2f986088a
2021-02-20[automerger skipped] Mark ab/7061308 as merged in stage. am: 8b28ac89b2 -s ↵Xin Li
ours am: 13cbf156c1 -s ours am: 517ee63ccd -s ours am skip reason: Change-Id I35e35d979fb8aea7926cfa2ea8f5fa084287b7bd with SHA-1 ad8f39c73d is in history Original change: undetermined MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I1d78e1732b1f4858ce8a4645e9ac2d82f082ad30
2021-02-20[automerger skipped] Mark ab/7061308 as merged in stage. am: 8b28ac89b2 -s ↵Xin Li
ours am: 13cbf156c1 -s ours am skip reason: Change-Id I35e35d979fb8aea7926cfa2ea8f5fa084287b7bd with SHA-1 ad8f39c73d is in history Original change: undetermined MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ibdea17b1d4a38a96fc0b93d5f06d9415044567d6
2021-02-20[automerger skipped] Mark ab/7061308 as merged in stage. am: 8b28ac89b2 -s oursXin Li
am skip reason: Change-Id I35e35d979fb8aea7926cfa2ea8f5fa084287b7bd with SHA-1 ad8f39c73d is in history Original change: undetermined MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I3feb1543663d3ed32237c0c58e686859fb637397
2021-02-20Mark ab/7061308 as merged in stage.Xin Li
Bug: 180401296 Merged-In: I35e35d979fb8aea7926cfa2ea8f5fa084287b7bd Change-Id: I1ee202ad4406a0a858d84f13ea5a705ec61f85a0
2021-02-19Snap for 7155439 from b43f068edbdb9d6bb333f56c1be1c215e98d37d5 to tm-releaseandroid-build-team Robot
Change-Id: Iedaf77526e8fd0097aa7ab16d01283a89b225d7d
2021-02-18Snap for 7152399 from 272ba2c4ea5cd6b704d905c6dcfc080fc5d88163 to sc-v2-releaseandroid-build-team Robot
Change-Id: Ia08d834cfaa07bbb470c0d7d9d48d390aa8fa6cf
2021-02-17[LSC] Add LOCAL_LICENSE_KINDS to external/jemalloc_new am: 33d62c57c1 am: ↵Bob Badour
0c24e096eb am: 289a9908c1 am: 272ba2c4ea Original change: https://android-review.googlesource.com/c/platform/external/jemalloc_new/+/1588856 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I4d18c56800efe82e6f79187a4ca97638f22bfe1b
2021-02-17[LSC] Add LOCAL_LICENSE_KINDS to external/jemalloc_new am: 33d62c57c1 am: ↵Bob Badour
0c24e096eb am: 289a9908c1 am: 272ba2c4ea Original change: https://android-review.googlesource.com/c/platform/external/jemalloc_new/+/1588856 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I75c591f150a116a78270376650af7cc7546a9831
2021-02-17[LSC] Add LOCAL_LICENSE_KINDS to external/jemalloc_new am: 33d62c57c1 am: ↵Bob Badour
0c24e096eb am: 289a9908c1 Original change: https://android-review.googlesource.com/c/platform/external/jemalloc_new/+/1588856 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I7ff4c068610d84777a9864ffbca957de609f1793
2021-02-17[LSC] Add LOCAL_LICENSE_KINDS to external/jemalloc_new am: 33d62c57c1 am: ↵Bob Badour
0c24e096eb Original change: https://android-review.googlesource.com/c/platform/external/jemalloc_new/+/1588856 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ie8b2b72402f9fca570ae02ad3b84255a62109a5f
2021-02-17[LSC] Add LOCAL_LICENSE_KINDS to external/jemalloc_new am: 33d62c57c1Bob Badour
Original change: https://android-review.googlesource.com/c/platform/external/jemalloc_new/+/1588856 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I827c76af4ef8193734dc346a21435337532fa4c7
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-11-24Mark ab/6881855 as merged am: d21b7bb14a am: ad8f39c73dXin Li
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/jemalloc_new/+/13110682 Change-Id: I78809f036f29f27c78e7719bf4661db7c414b63c
2020-11-24Mark ab/6881855 as merged am: d21b7bb14aXin Li
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/jemalloc_new/+/13110682 Change-Id: I35e35d979fb8aea7926cfa2ea8f5fa084287b7bd
2020-11-23Mark ab/6881855 as mergedXin Li
Bug: 172690556 Change-Id: I52e6714ed88a5be4c960eb9de4ce8e4d5f47457e
2020-10-29Merge "Make vendor_ramdisk_available." am: 4a13357c76 am: 8565f18203 am: ↵Yifan Hong
19b86d9b44 am: 6e6a931704 Original change: https://android-review.googlesource.com/c/platform/external/jemalloc_new/+/1469669 Change-Id: Ia5b5209fe7fae90eb635d7c14b3b490b7519b96a
2020-10-29Merge "Make vendor_ramdisk_available." am: 4a13357c76 am: 8565f18203 am: ↵Yifan Hong
19b86d9b44 Original change: https://android-review.googlesource.com/c/platform/external/jemalloc_new/+/1469669 Change-Id: I78bf5c9dbee63e7c532ee99ca4ea826af50c22dc