| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| |
| | |
Change-Id: I61b2b762ab281b5e44c36a8ebb6a6e2b28d5ca84
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In 32 bit, the va space can be exhausted very easily. Change the
jemalloc defaults to only retain for 64 bit to avoid this exhaustion.
The performance of traces does get slightly worse, but most stay about
the same.
This should only affect devices that use malloc svelte, all other
devices are on scudo.
Bug: 142556796
Bug: 140079007
Test: Ran traces and verified va space is much lower.
Test: Compared benchmarks with and without retaining.
Test: Ran bionic unit tests.
Test: Ran jemalloc tests.
Test: Ran malloc stress tests.
Change-Id: Iaec8276582f880145a1ca5ebbaa65789f46d2bf2
Merged-In: Iaec8276582f880145a1ca5ebbaa65789f46d2bf2
(cherry picked from commit 42ee32379deb615c6554ac8325417f451e987b35)
|
| |\|
| |
| |
| | |
Change-Id: I16a01a5c01c1dab4c2d8bdff02944415aa33179e
|
| | |\
| | |
| | |
| | |
| | |
| | | |
dbb559d281
Change-Id: I40e3c1e45b840d6f4a657efaaffbba10ed9d1231
|
| | | |\
| | | |
| | | |
| | | | |
Change-Id: Ia3735794cacc7c73209957f4ac54d04706bdc49f
|
| | | | |\
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 8333b30b97
Change-Id: I04c4ddf6104fb09f4e4817d65da69c70b196e0ae
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| |\| | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Id4eddccbe4bdb43dab4c890388498c8c7feb42d7
|
| | |\| | |
| | | | |
| | | | |
| | | | | |
Change-Id: I2c3df63fcbdc7c6ac8d81e46cefc07d4f0b01cd3
|
| | | |\| |
| | | | |
| | | | |
| | | | | |
Change-Id: Ib56b06f09240eebeb31bc9b6543626b26edad016
|
| | | |/| |
| | | |/
| | | |
| | | |
| | | |
| | | | |
am: 975193e289
Change-Id: I107ef904fb46dded7a44bd0ff4b6ee688fabcf96
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Test: pass
Bug: 147347110
Change-Id: I95006f1b1667e1cf316b25f4ece153643ca31dfc
|
| |\| | |
| | | |
| | | |
| | | | |
Change-Id: Id879f967ffe2de9dbba22bca91a7149b588e2346
|
| | |\| |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: ccccb453ca
Change-Id: I76fdee866376e0016745c770e46eb10f553c24c9
|
| | | |\|
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 76307d1c57
Change-Id: Ic5b7d87814ba72ba37f24305eee63589b52b3d48
|
| | | | |\
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 8aa48b4f72
Change-Id: I0399ab728fb3fd5f97e306596d87a945ec0b400c
|
| | | | |/
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Match the name that bionic expects.
Test: Compiles.
Change-Id: I2ad4a6e7ee6c2831cc4b1c5b834c2d5334164d3b
|
| |\| | |
| | | |
| | | |
| | | | |
Change-Id: Id655bf715186b100d720e2cf978ca9888e0be47d
|
| | |\| |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 8ac3fef633
Change-Id: I2e5d657ec20e13e245573444f51df3c633f42258
|
| | | |\ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: db317931e8
Change-Id: I922efff62e924eea14a0f0794744901a7cce6522
|
| | | |/| |
| | | |/
| | | |
| | | |
| | | |
| | | | |
am: f435ef65df
Change-Id: I8b99d54fb75e7a229c7612553bc3dc3226b097b3
|
| | | |/|
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 9918bd263a
Change-Id: I098fa762629d20ed0f4a49d28343ad0cf0596f34
|
| | | |/
| | |
| | |
| | |
| | | |
Test: Ran this when building jemalloc 5.2.1.
Change-Id: I6c7de59cdede844f3469bcd045e8e1b638112c54
|
| |\| |
| | |
| | |
| | | |
Change-Id: Ib7aa8f5430a483452c128f27d4812a68a24d071b
|
| | |\|
| | |
| | |
| | |
| | |
| | | |
am: 6840b22e8e
Change-Id: I8828c63349d5f8546c6eaef86d66b058f1cb9787
|
| | | |\
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 26879e335f
Change-Id: Id2ba93b17636d6158ddf97b6aa7574ca075cd7d2
|
| | | | |\
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: ff3a3553d7
Change-Id: If00479492928217206c3da592a9bc61ac70a4be4
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The library can be included to binaries compiled
for translated architectures.
Bug: http://b/77159578
Test: make
Change-Id: Ibc0440ec239d7dcd2c06f3630713e3c2be97cb02
|
| |\| | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Iacc3fb1206e6dd588da3fc4663019daffef70e43
|
| | |\| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
68a632d493 am: fd9872508f -s ours
am: ad40e8a400 -s ours
am skip reason: change_id Id2fd0c38106fa0150ff6baae538ecaea356296ec with SHA1 158f084de4 is in history
Change-Id: Iff73a0ed18b1629720a4d49548afd853b45c81c0
|
| | | |\| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: fd9872508f -s ours
am skip reason: change_id Id2fd0c38106fa0150ff6baae538ecaea356296ec with SHA1 158f084de4 is in history
Change-Id: I2c3449dc4e51d785aff50506c0c04f104ba41e03
|
| | | | |\|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 68a632d493
Change-Id: I0bd679f9b42051e5c5a223b333835eeb1e5776f9
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bug: 131864803
Test: New bionic unit test to make sure that mallinfo and malloc_info match.
Change-Id: Id2fd0c38106fa0150ff6baae538ecaea356296ec
Merged-In: Id2fd0c38106fa0150ff6baae538ecaea356296ec
(cherry picked from commit 158f084de4880d7241a9cd9c4d0e5571e9ea6a2b)
|
| | |\| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: f3cd3f3a31
Change-Id: I6f9a6717829fd1774a12565d4f515f87e2e59656
|
| | | |\ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
am: 158f084de4
Change-Id: Ia59570d18cbea711529e93c3424bf4689c0979fd
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Bug: 131864803
Test: New bionic unit test to make sure that mallinfo and malloc_info match.
Change-Id: Id2fd0c38106fa0150ff6baae538ecaea356296ec
|
| | |\| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
am: cb7b096e88
Change-Id: I219c3bc784961b5335449e732fa5f8a01b613ccc
|
| | | |\| | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
am: 801fe3af80
Change-Id: I16f8c6f58921a5a6eb1abedf4f84182378c7affc
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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)
|
| |\| | | | |
| | | | | |
| | | | | |
| | | | | | |
Change-Id: I5e7e073b4dc6c0f96639df5993a72337f148d0d3
|
| | |\| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
am: 0cce1688e3
Change-Id: I2655bb1065d984dd87610f601b0e51c3f1e8d111
|
| | | |\ \ \ \
| | | | |/ /
| | | |/| |
| | | | | |
| | | | | |
| | | | | | |
am: 4d954e036e
Change-Id: I1cee8874b4d6f142f988826fc7f6126b94598f0d
|
| | | | |\ \ \
| | | | | |/
| | | | |/|
| | | | | |
| | | | | |
| | | | | | |
am: a8b5251865
Change-Id: I467d5f60fd2383a311a5a85b68088e30a2e6bf47
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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
|
| |\| | | | |
| | | | | |
| | | | | |
| | | | | | |
Change-Id: I98e85d23fac656e86da5ad917249524f0b2ba01b
|
| | |\| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
25b667ba39 -s ours
am: 43ebc666b4 -s ours
am skip reason: change_id Iff41d5b5002919c4df03fcb7d742e501f9e38b8e with SHA1 0af4ee86df is in history
Change-Id: Icbaaf7eba4b4b8fe970c0944921aeb6b579f834f
|
| | | |\ \ \ \
| | | | |_|/
| | | |/| |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
am: 25b667ba39 -s ours
am skip reason: change_id Iff41d5b5002919c4df03fcb7d742e501f9e38b8e with SHA1 0af4ee86df is in history
Change-Id: I954cf82ceb60ec1da2aab050f9fc9a58c0e74d01
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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)
|
| |\| | | | |
| | | | | |
| | | | | |
| | | | | | |
Change-Id: I172d410243c136b971411e30df854fc0e11c45c9
|
| | |\| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
am: a998911727
Change-Id: I36f69641181b3839d8cb88ea57e2ce72e0557867
|