aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch android10-qpr1-releaseandroid10-gsiSzuWei Lin2019-12-230-0/+0
|\ | | | | | | Change-Id: Ic52bf0da86721065ff37339a6a5bc95723734343
| * Fix miscalculating large memory allocations.android-10.0.0_r29android-10.0.0_r28android-10.0.0_r27android-10.0.0_r26android-10.0.0_r25android-10.0.0_r24android-10.0.0_r23android-10.0.0_r22android-10.0.0_r21android-10.0.0_r20android-10.0.0_r19android-10.0.0_r18android-10.0.0_r16android-10.0.0_r15android10-qpr1-releaseandroid10-qpr1-d-releaseandroid10-qpr1-c-s1-releaseandroid10-qpr1-c-releaseandroid10-qpr1-b-s1-releaseandroid10-qpr1-b-releaseChristopher Ferris2019-05-031-34/+39
| |\ | | | | | | | | | | | | | | | am: 158f084de4 Change-Id: Iceba2489e1d528b98713bb3551ddf037303f0a7d
| * \ Remove unused stats from cache structure.Christopher Ferris2019-05-014-0/+27
| |\ \ | | | | | | | | | | | | | | | | | | | | am: 801fe3af80 Change-Id: I883791d5235bae93594310a5aaef58fc9e14d877
* | \ \ Snap for 5533229 from 158f084de4880d7241a9cd9c4d0e5571e9ea6a2b to qt-releaseandroid-vts-10.0_r5android-vts-10.0_r4android-vts-10.0_r3android-vts-10.0_r2android-vts-10.0_r1android-cts-10.0_r5android-cts-10.0_r4android-cts-10.0_r3android-cts-10.0_r2android-cts-10.0_r1android-10.0.0_r6android-10.0.0_r5android-10.0.0_r46android-10.0.0_r4android-10.0.0_r3android-10.0.0_r2android-10.0.0_r17android-10.0.0_r11android-10.0.0_r10android-10.0.0_r1android10-tests-releaseandroid10-security-releaseandroid10-s3-releaseandroid10-s2-releaseandroid10-s1-releaseandroid10-releaseandroid-build-team Robot2019-05-041-34/+39
|\ \ \ \ | | |_|/ | |/| | | | | | Change-Id: I861a9fbac2950dc0b55a0c8924589e1467def283
| * | | Fix miscalculating large memory allocations.android-mainline-10.0.0_r9android-mainline-10.0.0_r7android-mainline-10.0.0_r5android-mainline-10.0.0_r4android-mainline-10.0.0_r10android-10.0.0_r9android-10.0.0_r8android-10.0.0_r7android-10.0.0_r45android-10.0.0_r44android-10.0.0_r43android-10.0.0_r42android-10.0.0_r41android-10.0.0_r40android-10.0.0_r39android-10.0.0_r38android-10.0.0_r37android-10.0.0_r36android-10.0.0_r35android-10.0.0_r34android-10.0.0_r33android-10.0.0_r32android-10.0.0_r31android-10.0.0_r30android-10.0.0_r14android-10.0.0_r13android-10.0.0_r12android10-qpr3-s1-releaseandroid10-qpr3-releaseandroid10-qpr2-s4-releaseandroid10-qpr2-s3-releaseandroid10-qpr2-s2-releaseandroid10-qpr2-s1-releaseandroid10-qpr2-releaseandroid10-qpr1-mainline-releaseandroid10-mainline-media-releaseandroid10-devandroid10-d4-s1-releaseandroid10-d4-releaseandroid10-c2f2-s2-releaseandroid10-c2f2-s1-releaseandroid10-c2f2-releaseChristopher Ferris2019-05-021-34/+39
| | |/ | |/| | | | | | | | | | | | | | | | Bug: 131864803 Test: New bionic unit test to make sure that mallinfo and malloc_info match. Change-Id: Id2fd0c38106fa0150ff6baae538ecaea356296ec
* | | Snap for 5523284 from 801fe3af80eb7d6993f162586ac6d00d308871af to qt-releaseandroid-build-team Robot2019-05-024-0/+27
|\| | | | | | | | | | | Change-Id: If77c408963179195a24d2ea81a55db56091a0484
| * | Remove unused stats from cache structure.Christopher Ferris2019-05-014-0/+27
| |/ | | | | | | | | | | | | | | | | | | | | | | Removing the stats make the whole cache structure fit in a single page. Bug: 131362671 Test: Verified that all bionic malloc benchmarks are still the same. Test: It turns out that the malloc_sql benchmarks seem to get faster. Test: Verified that after this change, it saves about 2K PSS per thread. Change-Id: I4dcd633543f05f1a9d47db175f9977ddb42188a9 (cherry picked from commit a8b52518654725e64def5ebbd0ed472100e5a522)
* | Snap for 5452883 from 25b667ba3910fb6ad74e2cad1bd1d66d8de9369f to qt-releaseandroid-build-team Robot2019-04-101-3/+1
|\| | | | | | | Change-Id: Ifa1650339362606a727d133dedb6e17a987194ba
| * Fix performance of multiple same size allocations.Christopher Ferris2019-04-091-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Merged-In: Iff41d5b5002919c4df03fcb7d742e501f9e38b8e (cherry picked from commit 0af4ee86dfa643feb786d659dbb219133c776a34)
* | Snap for 5434517 from edf6701d373a397b75c0f3ff979d6b18095294f5 to qt-releaseandroid-build-team Robot2019-04-040-0/+0
|\| | | | | | | Change-Id: Ia0abdf81f7a0c3b58922f4a615a7508baf809905
| * Merge master@5406228 into git_qt-dev-plus-aosp.Bill Rassieur2019-04-030-0/+0
| |\ | | | | | | | | | | | | | | | am: 69a24699a4 Change-Id: Iefbbbefa572a090befc750ccea46ee8cbdc3c086
| | * Merge master@5406228 into git_qt-dev-plus-aosp.Bill Rassieur2019-03-291-2/+7
| | |\ | | |/ | |/| | | | | | | Change-Id: I31e10da5bb3c0ee66b71a2f69c010acfaeeef6db BUG: 129345239
* | | Snap for 5401728 from fe8c297edfb0b79ac12a0f2b4c4c3952500d808d to qt-releaseandroid-build-team Robot2019-03-231-2/+7
|\| | | | | | | | | | | Change-Id: I0cf4df8836f7a90160160fe81321ec609b32f098
| * | Fix bug trying to examine unused extents. am: 46971b81ee am: 08d6c0f845Christopher Ferris2019-03-221-2/+7
| |\ \ | | |/ | |/| | | | | | | | | | am: 766934fd92 Change-Id: Ic95f585264bf0b8ab7f75b8a04c04bc5ca779e17
| | * Fix bug trying to examine unused extents. am: 46971b81eeChristopher Ferris2019-03-221-2/+7
| | |\ | | | | | | | | | | | | | | | | | | | | am: 08d6c0f845 Change-Id: I25764bf0f640d5cd24331b2dba9715860fdf4faf
| | | * Fix bug trying to examine unused extents.Christopher Ferris2019-03-221-2/+7
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | am: 46971b81ee Change-Id: I2c52b0d542aa1c273857486d312675f63625a6dc
| | | | * Fix bug trying to examine unused extents.Christopher Ferris2019-03-221-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 124264835 Test: Ran bionic unit tests. Test: Ran dumpsys -t 6000 meminfo --unreachable of chrome process without Test: crashing. Change-Id: I2cc66e443fa278621b9878a888c74f38efcb79eb
* | | | | Snap for 5386257 from 58d94c547230b0074b7af73dfd040ea4b92216d5 to qt-releaseandroid-build-team Robot2019-03-191-0/+16
|\| | | | | | | | | | | | | | | | | | | Change-Id: I0712e24c754048581027078dc4dcce460b0be28f
| * | | | Remove best fit for extent selection. am: cc374363ec am: b4e426ffebChristopher Ferris2019-03-181-0/+16
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 27c2c8bead Change-Id: I421cf23cfc8d2bb0280546c2217861ecc6d93f14
| | * | | Remove best fit for extent selection. am: cc374363ecChristopher Ferris2019-03-181-0/+16
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | am: b4e426ffeb Change-Id: I7cf232a3f365c7563ee96b415f898a1d6842254e
| | | * | Remove best fit for extent selection.Christopher Ferris2019-03-181-0/+16
| | | |\| | | | | | | | | | | | | | | | | | | | | | | | | | am: cc374363ec Change-Id: Ia44573af27aa921a31bd2e798066b43dc1d72d10
| | | | * Remove best fit for extent selection.Christopher Ferris2019-03-181-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A jemalloc user reported that the best fit selection is causing them a memory leak. This code has been completely removed from the next release of jemalloc (5.2.0), so remove it since it doesn't have any real benefit. See https://github.com/jemalloc/jemalloc/issues/1454 Running the memory dumps, removing best fit appears to be a win: it is slightly faster and has the same PSS/VA. Bug: 128697497 Test: Ran jemalloc unit tests. Test: Ran memory dumps in 32 bit and 64 bit and observed that the PSS Test: and VA stayed the same, while run time improved slightly. Change-Id: I98a8ddf2cea837c8ade1afd4a998960c253d3932
* | | | | Snap for 5335706 from 5671f09f1d3e5fc9135b3493328e1b6cf84f6d1c to qt-releaseandroid-build-team Robot2019-02-260-0/+0
|\| | | | | | | | | | | | | | | | | | | Change-Id: Ie7feb7d3f84f53604613d64f419d73d776271cec
| * | | | Merge stage-aosp-master into pi-dev-plus-aospXin Li2019-02-250-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 0b13d0583d Change-Id: I5257268590878a34464f9028bc9b4b667828e953
| | * | | Merge stage-aosp-master into pi-dev-plus-aospXin Li2019-02-250-0/+0
| | |\| | | | | | | | | | | | | | | | | | | | | | Bug: 126125118 Change-Id: I0485d2754a7a36d6b228f2926d2fc06e96a08c11
| | | * | DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-masterXin Li2019-02-200-0/+0
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Bug: 120848293 Change-Id: I38bf95211e9e25ff919ac7260cc7822bdaee7948
* | | | | | Snap for 5316819 from f6d93efa6a8c9d41829e5aa60777e188c2f4f999 to qt-releaseandroid-build-team Robot2019-02-171-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | Change-Id: I15014b90403ce721de3b8e5a45b4c9abf835e4f8
| * | | | | Don't compile background thread support. am: 347192e6aa am: 4135abe739Dan Albert2019-02-151-1/+1
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 1078c77e37 Change-Id: I1b4d6abc8d7f3d2d2f1779edf66717f17cac4bd8
| | * | | | Don't compile background thread support. am: 347192e6aaDan Albert2019-02-151-1/+1
| | |\| | | | | | |/ / | | |/| | | | | | | | | | | | | | | | | am: 4135abe739 Change-Id: I9287434a0071573eb6766c5dcfb4c8f0af7a5627
| | | * | Don't compile background thread support.Dan Albert2019-02-151-1/+1
| | | |\| | | | | | | | | | | | | | | | | | | | | | | | | | am: 347192e6aa Change-Id: I69b6d3f3e0b0cc84a0cffc3945c2e61e667a97b4
| | | | * Don't compile background thread support.android-q-preview-1Dan Albert2019-02-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't currently use this and it causes libc.a to have a dependency on libdl because it interposes pthread_create with dlsym. Test: treehugger Bug: None Change-Id: I259ed5eb8e72045430aee90df1124c1906512fcd
* | | | | Snap for 5217728 from f7bce9f622097d478c229949ce77baa02c882c83 to qt-releaseandroid-build-team Robot2019-01-091-0/+3
|\| | | | | | | | | | | | | | | | | | | Change-Id: Ic4fd7714b6725b041019c32f944cd0262001c86a
| * | | | Add default code reviewers into OWNERS am: ab33b153b4 am: 7a1cc0cb97Chih-Hung Hsieh2019-01-081-0/+3
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | am: bb955dfb55 Change-Id: I4207473a67504d09dfac4cc7ac27579ddb7ab537
| | * | | Add default code reviewers into OWNERS am: ab33b153b4Chih-Hung Hsieh2019-01-081-0/+3
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | am: 7a1cc0cb97 Change-Id: Id7543021974d21db04664495528b0284538b8f60
| | | * | Add default code reviewers into OWNERSChih-Hung Hsieh2019-01-081-0/+3
| | | |\| | | | | | | | | | | | | | | | | | | | | | | | | | am: ab33b153b4 Change-Id: I777085a822a84cdd4c94df0ffa0d2de058ab0176
| | | | * Add default code reviewers into OWNERSChih-Hung Hsieh2019-01-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 33166666 Test: gerrit uploader Change-Id: I6c36b8e1c927160b7770f65c0fc1b10517a314aa
* | | | | Snap for 5163676 from 8d4f008b1528c15f1185e9294a3c98fe85510267 to qt-releaseandroid-build-team Robot2018-12-051-0/+4
|\| | | | | | | | | | | | | | | | | | | Change-Id: I937b480f7e0f0f35aaf828cce74f166e87204d32
| * | | | Prevent dependency cycle on linux_bionic due to system_shared_libs ↵Roland Levillain2018-12-041-0/+3
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | expansion. am: 759026fed9 am: bf51fc27ed am: b96806f4a5 Change-Id: I30a0794c0230cb5ae0d633166e1eb13695b59d90
| | * | | Prevent dependency cycle on linux_bionic due to system_shared_libs ↵Roland Levillain2018-12-041-0/+3
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | expansion. am: 759026fed9 am: bf51fc27ed Change-Id: I37f7b06ffc8cf5d31a84b6d9eb04cd862c98c548
| | | * | Prevent dependency cycle on linux_bionic due to system_shared_libs expansion.Roland Levillain2018-12-041-0/+3
| | | |\| | | | | | | | | | | | | | | | | | | | | | | | | | am: 759026fed9 Change-Id: I181a8edb6255056e318a5c1ccedee35dc24b329b
| | | | * Prevent dependency cycle on linux_bionic due to system_shared_libs expansion.android-wear-8.0.0_r2Roland Levillain2018-12-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: Rely on ART (linux-bionic build target) postsubmit testing. Bug: 31559095 Change-Id: Ie911abd8ca173b231c03730c326de7777b97452c
| * | | | Prevent dependency cycle due to system_shared_libs expansion am: 1f8849fffd ↵Dan Willemsen2018-12-031-0/+1
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 2f36dd205c am: 6a39aeaf1f Change-Id: I5c3578922de01ff383aa618d194a26215fb179f1
| | * | | Prevent dependency cycle due to system_shared_libs expansion am: 1f8849fffdDan Willemsen2018-12-031-0/+1
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | am: 2f36dd205c Change-Id: I07e5326733d920af74d4b2496b491b4628de4828
| | | * | Prevent dependency cycle due to system_shared_libs expansionDan Willemsen2018-12-031-0/+1
| | | |\| | | | | | | | | | | | | | | | | | | | | | | | | | am: 1f8849fffd Change-Id: I398a8be3f958cccb903379aa9871979dda8424b4
| | | | * Prevent dependency cycle due to system_shared_libs expansionDan Willemsen2018-12-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Snap for 5158715 from 0e041228dff5c121af4db4c94f56f905420e3d7b to qt-releaseandroid-build-team Robot2018-12-021-1/+2
|\| | | | | | | | | | | | | | | | | | | Change-Id: Ibf3c984a97ceb22d59886feb74ed4105ccd6cba4
| * | | | Ignore extents that are not associated with a size. am: 13715ae41a am: ↵Christopher Ferris2018-11-291-1/+2
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cd4da0a323 am: bbdecd75a8 Change-Id: I9f6cb4246e3acd1bf581df3904614ba79f374061
| | * | | Ignore extents that are not associated with a size. am: 13715ae41aChristopher Ferris2018-11-291-1/+2
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | am: cd4da0a323 Change-Id: I7038703ccfbea3b01f82f9d6edd69ea59496073d
| | | * | Ignore extents that are not associated with a size.Christopher Ferris2018-11-291-1/+2
| | | |\| | | | | | | | | | | | | | | | | | | | | | | | | | am: 13715ae41a Change-Id: Ic5a384917f9ffa5ff72f3b243aa64bdb01f34283
| | | | * Ignore extents that are not associated with a size.Christopher Ferris2018-11-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 120032857 Test: Passes unit tests. Test: Ran dumpsys -t 300 meminfo --unreachable -a without crashes. Change-Id: I3d784ed2b449970966403bed7d701e2ff7434fba