summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-09-18Revert "bionic: Switch to jemalloc memory allocator"tachibana-mr1alk3pInjection
This reverts commit 4511e81f8bcbedde9e23943585fe1b649b1f4623. Reason for revert: breaks cam hal on lynx Change-Id: Ife0f80f7eff82dc8483bfe6326976155596d33a6
2023-07-04Merge tag 'LA.QSSI.13.0.r1-10700-qssi.0' into tachibana-mr1alk3pInjection
"LA.QSSI.13.0.r1-10700-qssi.0" Change-Id: Ib805f3894fb2044548316346bfd784529e7ac40f
2023-06-23Merge d1d65eae22ae4dbb2c0bfb8427d8223a8e9fc6a7 on remote branchLinux Build Service Account
Change-Id: I097b2175df34867bd7c8281ec8f96ef21588d64d
2023-06-15Snap for 10323517 from a45a05c360e8fb2fa264249d6d958de004fb7fe5 to ↵Android Build Coastguard Worker
t-keystone-qcom-release Change-Id: Ibce09e9d0ca566a71589c9dbe970abc956afeaef
2023-06-09Merge t-qpr-2023-06Matt Lee
Change-Id: I94905dcb1f131198c2337c9db722af69b0fe268f
2023-06-08Snap for 10276566 from bd751238fade1f933deefdb34ba13fc8f868646b to ↵Android Build Coastguard Worker
tm-platform-release Change-Id: I06de071369cc63b45fd319a990e9169fc76f9592
2023-06-02DO NOT MERGE - Merge tm-qpr3-release TQ3A.230605.010 into tm-platform-mergeAndy Quan
Bug: 279962103 Change-Id: Icc5770772d20fd701183efbdbf7855497483a2cd
2023-04-20Merge tag 'LA.QSSI.13.0.r1-09800-qssi.0' into tachibanatachibanaalk3pInjection
"LA.QSSI.13.0.r1-09800-qssi.0" Change-Id: Ib4084f349a37cfbf4c089d375b6b1a3a455bbda7
2023-04-13Merge 1003265aef8974ae1af0390d88c5cdc9e1dece69 on remote branchLinux Build Service Account
Change-Id: I2a256e2cde22db9314a5deb2cf89ec7817102b8e
2023-03-23Snap for 9798568 from d73ea46eea83bb4d41237e58a365ad7e9f4ca0ea to ↵Android Build Coastguard Worker
t-keystone-qcom-release Change-Id: Iacc4ce0f84236b93cc26cc0d47476d26a5011ce7
2023-03-02Merge t-qpr-2023-03Matt Lee
Change-Id: I6990163e04c81cd29f66e6b23ccbcf446bbcf179
2023-02-22Snap for 9635940 from 129a265ab9467876da85d6162558d348cdf0ba7c to ↵Android Build Coastguard Worker
tm-platform-release Change-Id: Id29fb2f600d9c167e401dd119056564b8f6ed01f
2023-02-16DO NOT MERGE - Merge tm-qpr2-release into tm-platform-mergeAndy Quan
Bug: 269346300 Change-Id: Ieea7d214f7bc6fd61036f207ea5691b4b85ed36e
2023-02-02Snap for 9552684 from bf5644d5887c3061d64e067214568c69ed1cc0ae to ↵Android Build Coastguard Worker
tm-qpr3-release Change-Id: Ib14356100e94f0a5ae4f1377ff49b866dfad2d42
2023-02-01Merge "Extend bionic-unit-tests timeout." into android13-tests-dev am: ↵Treehugger Robot
9c1e170668 am: 5d0345280a am: 99ebeb82c6 Original change: https://android-review.googlesource.com/c/platform/bionic/+/2417212 Change-Id: I8f3ebd30d1118297691e5849baa822941365928d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-01Merge "Extend bionic-unit-tests timeout." into android13-tests-dev am: ↵Treehugger Robot
9c1e170668 am: 5d0345280a Original change: https://android-review.googlesource.com/c/platform/bionic/+/2417212 Change-Id: I3ff5e769d5abec3042a267e9e5ed0fcf83947305 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-01Merge "Extend bionic-unit-tests timeout." into android13-tests-dev am: ↵Treehugger Robot
9c1e170668 Original change: https://android-review.googlesource.com/c/platform/bionic/+/2417212 Change-Id: Ifcf1d9437cd5e35c38e2eb5b7489d32524103fc9 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-01Merge "Extend bionic-unit-tests timeout." into android13-tests-devTreehugger Robot
2023-02-01Extend bionic-unit-tests timeout.Mitch Phillips
GWP-ASan stress tests can take a while, especially under HWASan. Bug: 238585984 Test: sleep(100) in one of the tests, and then 'atest bionic-unit-tests' Merged-In: Ibd983da1c8fd06cffed756cf3b24523f4671d49e Change-Id: Ibd983da1c8fd06cffed756cf3b24523f4671d49e (cherry picked from commit 1f3c8d688c8225dd725794562962d7726b590282)
2023-01-17Snap for 9495226 from 09e956936dce314b9bd052108f2362814d148422 to ↵Android Build Coastguard Worker
tm-qpr3-release Change-Id: I5e55771018e879983c5ce562645755b6d337a2f3
2023-01-16Snap tm-dev to android13-tests-dev am: 28e71b61c6 am: 8db32c19adSamip Garg
Original change: https://googleplex-android-review.googlesource.com/c/platform/bionic/+/20514346 Change-Id: Ibbee063ceabb77aceae5878b11648441d8e02127 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-15Merge 2794b692e9fa1db1b135623ec8968ca4dedd8f55 on remote branchLinux Build Service Account
Change-Id: I4601ec0508e353c4c0153936858f43aa4761e30f
2023-01-11Snap tm-dev to android13-tests-dev am: 28e71b61c6Samip Garg
Original change: https://googleplex-android-review.googlesource.com/c/platform/bionic/+/20514346 Change-Id: I5219b49e6c948cb816092bc09bb3dda7a2df2ac3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-10Snap for 9470583 from 23f0befcc2aecabb5fbfd1b2159389eefc9d4018 to ↵Android Build Coastguard Worker
tm-qpr3-release Change-Id: I5e7c7f0a31172efcff46c555338c5f58e24a638c
2022-12-22Snap for 9430503 from 4204d9a2891acb53ffe48cf9b46155ae0dab847a to ↵Android Build Coastguard Worker
t-keystone-qcom-release Change-Id: Ib00ca89a45a2cebf7c9c39efd3d72bca17478d9b
2022-12-08Snap tm-dev to android13-tests-devSamip Garg
Bug:259849956 Merge ab/9299233 Merged-In: I8ae99c5ba22f09a8d7e751f8bb4938894abe231f Change-Id: I9743beac856f1b3f7f23ca28a4981c734f745da1
2022-12-06Merge t-qpr-2022-12Matt Lee
Change-Id: Id1317e38eda87b2b519afbed7b1e22323640c271
2022-11-09Merge "Disable MemtagNoteTest#SEGV for native bridge" into android13-tests-devTreehugger Robot
2022-11-07Disable MemtagNoteTest#SEGV for native bridgedimitry
This commit disables MemtagNoteTest#SEGV when running on native bridge. Bug: http://b/242170715 Test: run arm64 Bionic tests on T Emulator Change-Id: I8ae99c5ba22f09a8d7e751f8bb4938894abe231f
2022-11-01Snap for 9239618 from 5f14872310f80cc47eccd4c74dd6d93334c6080d to ↵Android Build Coastguard Worker
tm-platform-release Change-Id: Id6258cef9aeb42564a4787ad09fa68c6e7b13a94
2022-10-31Merge "Fix-up for change in pwd/grp ids for PRNG seeder daemon" into ↵Orion Hodson
android13-tests-dev
2022-10-27Fix-up for change in pwd/grp ids for PRNG seeder daemonOrion Hodson
The PRNG seeder daemon is introduced in TM-QPR2 which can lead to breakage running Android 13 CTS tests depending on when the platform and CTS tests are built. Fix: 253185870 Test: run cts --module CtsBionicTestCases Change-Id: I94fa0aa2f32b09222aee08891e7643bf14d1a204
2022-10-21Merge commit '5630078b73dbd1ecce85868ca9766f64709f3354' of ↵Yimin Li
sso://googleplex-android/platform/bionic into HEAD Change-Id: I10cb98c0ac8421ed8fed8c1e0c0e6c3b93b77350
2022-10-06Merge "Merge "Merge "stack_protector_DeathTest#modify_stack_protector: avoid ↵Automerger Merge Worker
flake." into android12-tests-dev am: 793d1fb5ab" into android12L-tests-dev am: 6aa3bdfb16" into android13-tests-dev
2022-10-06Merge "Merge "stack_protector_DeathTest#modify_stack_protector: avoid ↵Automerger Merge Worker
flake." into android12-tests-dev am: 793d1fb5ab" into android12L-tests-dev am: 6aa3bdfb16 Original change: https://android-review.googlesource.com/c/platform/bionic/+/2240186 Change-Id: I479c56a6509cef84a1f614a937a6434ebce5dbcd Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-05Merge "Merge "stack_protector_DeathTest#modify_stack_protector: avoid ↵Automerger Merge Worker
flake." into android12-tests-dev am: 793d1fb5ab" into android12L-tests-dev
2022-10-05Merge "stack_protector_DeathTest#modify_stack_protector: avoid flake." into ↵Shubhangi Pawar
android12-tests-dev am: 793d1fb5ab Original change: https://android-review.googlesource.com/c/platform/bionic/+/2240186 Change-Id: I3b367d57efa507d95bba1dfcc630237995c7adda Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-05Merge "stack_protector_DeathTest#modify_stack_protector: avoid flake." into ↵Shubhangi Pawar
android12-tests-dev
2022-10-04stack_protector_DeathTest#modify_stack_protector: avoid flake.Elliott Hughes
I've never been able to repro the flake myself (in hundreds of thousands of runs), but it's certainly possible that a byte of the cookie is already zero. So let's invert the byte we plan to corrupt rather than set it to zero. Bug: http://b/202948861 Test: treehugger Change-Id: Iccd552fe302d6c01e376819d23c11a308e03acdb (cherry picked from commit 23ce50c1728c6bc6986e12073d5d3c8ab10d05d0)
2022-10-03Snap for 9133013 from 23f0befcc2aecabb5fbfd1b2159389eefc9d4018 to ↵Android Build Coastguard Worker
tm-qpr2-release Change-Id: I3241535aca435bfcb28242f423d28d37bb0c5a18
2022-09-06bionic: Switch to jemalloc memory allocatorDanny Lin
Overall, jemalloc performs significantly better than Scudo in Bionic's real-world memory_replay traces (all times in milliseconds): +----------------+-------+----------+ | Trace | Scudo | jemalloc | +----------------+-------+----------+ | SQL | 27 | 21 | | Angry Birds 2 | 2236 | 1501 | | Camera | 4251 | 979 | | Candy Crush | 2197 | 1325 | | Gmail | 594 | 463 | | Maps | 434 | 344 | | Photos | 1330 | 477 | | PUBG | 666 | 416 | | surfaceflinger | 221 | 192 | | system_server | 1921 | 1416 | | SystemUI | 102 | 79 | | YouTube | 363 | 294 | +----------------+-------+----------+ jemalloc also tends to use slightly less memory than Scudo for most traces. These tests were conducted on desktop x86 Linux with glibc and the latest stable version of each allocator, but they should still be relevant. RSS values in KiB: +----------------+--------+----------+ | Trace | Scudo | jemalloc | +----------------+--------+----------+ | Angry Birds 2 | 793948 | 746992 | | Camera | 219372 | 251888 | | Candy Crush | 548288 | 550148 | | Gmail | 195236 | 193048 | | Maps | 159860 | 159816 | | Photos | 175436 | 171872 | | PUBG | 233752 | 223572 | | surfaceflinger | 94736 | 107068 | | system_server | 471048 | 484392 | | SystemUI | 54432 | 60740 | | YouTube | 139376 | 142252 | +----------------+--------+----------+ While not representative of real-world usage, jemalloc also performs fairly well in synthetic benchmarks (all times in nanoseconds): +-----------------+---------+----------+ | Benchmark | Scudo | jemalloc | +-----------------+---------+----------+ | alloc 8 | 87.9 | 60.1 | | alloc 16 | 87.9 | 60 | | alloc 32 | 88.6 | 60.7 | | alloc 64 | 88.6 | 59.7 | | alloc 512 | 89.2 | 60 | | alloc 1024 | 89.4 | 59.8 | | alloc 8192 | 89.8 | 65.2 | | alloc 16384 | 92.7 | 69.1 | | alloc 32768 | 97.2 | 74 | | alloc 65536 | 109 | 83.8 | | alloc 131072 | 41536 | 42720 | | alloc40x 8 | 2156 | 2556 | | alloc40x 16 | 2155 | 2244 | | alloc40x 32 | 2234 | 2312 | | alloc40x 64 | 2234 | 2289 | | alloc40x 512 | 2274 | 8171 | | alloc40x 1024 | 2397 | 2162 | | alloc40x 8192 | 3550 | 78880 | | alloc40x 16384 | 3732 | 124454 | | alloc40x 32768 | 3849 | 275460 | | alloc40x 65536 | 4987 | 727598 | | alloc40x 131072 | 2745207 | 3067980 | | alloc8192 1x | 464 | 454 | | alloc8192 2x | 510 | 488 | | alloc8192 3x | 587 | 523 | | alloc8192 4x | 665 | 557 | | alloc8192 5x | 742 | 598 | | alloc8192 6x | 818 | 633 | | alloc8192 7x | 884 | 669 | | alloc8192 8x | 960 | 699 | | alloc8192 9x | 1045 | 734 | | alloc8192 10x | 1131 | 770 | | alloc8192 11x | 1207 | 806 | | alloc8192 12x | 1282 | 841 | | alloc8192 13x | 1363 | 877 | | alloc8192 14x | 1442 | 912 | | alloc8192 15x | 1512 | 944 | | alloc8192 16x | 1587 | 978 | | alloc8192 24x | 2256 | 21195 | | alloc8192 32x | 2867 | 45446 | | alloc8192 40x | 3522 | 71618 | | alloc8192 48x | 4126 | 89740 | | alloc8192 56x | 4786 | 114990 | | alloc8192 64x | 5412 | 141082 | | alloc8192 72x | 6049 | 170742 | | alloc8192 80x | 6712 | 198480 | | alloc8192 88x | 7331 | 221557 | | alloc8192 96x | 7976 | 251462 | | alloc8192 104x | 8581 | 281626 | | alloc8192 112x | 9245 | 313164 | | alloc8192 120x | 9914 | 353147 | | alloc8192 128x | 10514 | 376625 | | alloc8192 136x | 11187 | 408194 | | alloc8192 144x | 11802 | 445694 | | alloc8192 160x | 13083 | 514547 | | alloc8192 176x | 14414 | 582501 | | alloc8192 192x | 15746 | 654346 | | alloc8192 208x | 17044 | 712620 | | alloc8192 224x | 18405 | 769963 | | alloc8192 240x | 19744 | 843969 | | alloc8192 256x | 21160 | 917803 | +-----------------+---------+----------+ Scudo performs fairly well for a hardened memory allocator, but we're optimizing for performance. Full benchmark data with graphs: https://docs.google.com/spreadsheets/d/1LG_kxaK5cI14gGtnyM-nNNmfpMdV9Vh-LtYoq7H5J4s/edit Change-Id: Ia4901eedfaa2c9779678c5b6532979de4919ee01
2022-08-30Merge "Merge android12L-tests-dev@8941410." into android13-tests-devTreehugger Robot
2022-08-17Merge android12L-tests-dev@8941410.Xin Li
Change-Id: I5c71068d05f27bff99f1adc17400c0ec709b4dd0
2022-08-17Snap for 8961426 from 23f0befcc2aecabb5fbfd1b2159389eefc9d4018 to ↵Android Build Coastguard Worker
tm-qpr1-release Change-Id: Ibdbfcfa964f1ef64f3e1be4c8be1359a2021f769
2022-06-30Add persistent GWP-ASan sysprops.Mitch Phillips
Adds persistent sysprops for test infra usage, and adds the tests for the sysprops. The test does some fancy flocking in order to restore any existing GWP-ASan sysprop usage in the test cleanup. Bug: 236738714 Test: atest bionic-unit-tests Ignore-AOSP-First: cherry-pick to internal branch Change-Id: I8956296d39c98ce8c7dd0a703b240530d8ad48db Merged-In: I8956296d39c98ce8c7dd0a703b240530d8ad48db
2022-06-02Merge e086d3770c12f4e98ac3fdbbcf8ece40b26c8746 on remote branchLinux Build Service Account
Change-Id: If556ab5fcaa0049224283e5995b61a738a2b54fa
2022-05-18Merge ee1448019f7f796c2e535d662398390fff044aac on remote branchLinux Build Service Account
Change-Id: Idee400376fa30c9cd0ed5b272baceddd3d938cea
2022-05-18Merge "Merge "Merge "Merge "mntent_test: don't assume /proc isn't the first ↵Automerger Merge Worker
mount." into android10-tests-dev am: 0462cfb766" into android11-tests-dev am: 0a5cc21c42" into android12-tests-dev am: 46871c040d" into android12L-tests-dev
2022-05-18Merge "Merge "Merge "mntent_test: don't assume /proc isn't the first mount." ↵Automerger Merge Worker
into android10-tests-dev am: 0462cfb766" into android11-tests-dev am: 0a5cc21c42" into android12-tests-dev am: 46871c040d Original change: https://android-review.googlesource.com/c/platform/bionic/+/2098734 Change-Id: I10ed03dd6f920e19dc8c62c89217bf583dd21d96 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-18Merge "Merge "Merge "mntent_test: don't assume /proc isn't the first mount." ↵Automerger Merge Worker
into android10-tests-dev am: 0462cfb766" into android11-tests-dev am: 0a5cc21c42" into android12-tests-dev