- User Since
- Aug 6 2019, 3:45 PM (34 w, 4 d)
Thu, Mar 19
This passes all tests in the Android environment.
Mar 4 2020
The performance after this change is slightly worse for 32 bit, but not by much. and a lot of time seems to be within the variance However, it dramatically reduces the RSS for dex2oat, where it's much closer to jemalloc. It also reduces some of the traces RSS, but not by a large margin.
Feb 26 2020
The performance is about the same as previous and it does shave about 1MB to 2MB of RSS in many cases. It also decrease the camera process by about 2MB.
Feb 25 2020
Feb 14 2020
Update the mallopt and remove the ability to set the
primary and secondary differently.
Add static_casts where needed.
Created a min and max release to OS value for the allocators.
Feb 13 2020
- Merge branch 'master' of https://github.com/llvm/llvm-project
Feb 11 2020
I added a parameter to the primary and secondary, but I'm not sure when to set using the default. Right now, if the flag release_to_os_interval is set to -1, then it uses the default. I think that it would be better to have the default always override, but what do you think?
Changed this enough, so I'm abandoning this.
Feb 10 2020
This fixes the build failure for me.
I do see RSS benefits in 32 bit, but the benefits are much larger in 64 bit runs. I see some performance fluctuations, but it looks like some got faster, some got slower, so probably in the noise.
Feb 7 2020
Removed the minimum flags and create and Android specific mallopt setting.
Updated mallopt for android.
Dec 20 2019
I verified this fixes the case of building bionic on linux, and it also builds properly in the normal android build.
Nov 8 2019
Sep 9 2019
This isn't quite right for the way people expect this to compile, so abandon this change.