1. 04 May, 2019 1 commit
  2. 03 May, 2019 1 commit
  3. 02 May, 2019 1 commit
  4. 01 May, 2019 1 commit
    • Christopher Ferris's avatar
      Remove unused stats from cache structure. · 801fe3af
      Christopher Ferris authored
      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)
      801fe3af
  5. 10 Apr, 2019 1 commit
  6. 09 Apr, 2019 1 commit
    • Christopher Ferris's avatar
      Fix performance of multiple same size allocations. · 25b667ba
      Christopher Ferris authored
      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)
      25b667ba
  7. 04 Apr, 2019 1 commit
  8. 03 Apr, 2019 1 commit
  9. 29 Mar, 2019 1 commit
  10. 23 Mar, 2019 4 commits
  11. 22 Mar, 2019 1 commit
  12. 19 Mar, 2019 4 commits
  13. 18 Mar, 2019 1 commit
    • Christopher Ferris's avatar
      Remove best fit for extent selection. · cc374363
      Christopher Ferris authored
      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
      cc374363
  14. 26 Feb, 2019 1 commit
  15. 25 Feb, 2019 2 commits
  16. 21 Feb, 2019 1 commit
  17. 17 Feb, 2019 1 commit
  18. 15 Feb, 2019 3 commits
  19. 14 Feb, 2019 1 commit
    • Dan Albert's avatar
      Don't compile background thread support. · 347192e6
      Dan Albert authored
      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
      347192e6
  20. 09 Jan, 2019 1 commit
  21. 08 Jan, 2019 4 commits
  22. 05 Dec, 2018 1 commit
  23. 04 Dec, 2018 6 commits