Skip to content
Snippets Groups Projects
  1. Jun 14, 2019
  2. May 23, 2019
  3. May 10, 2019
  4. May 09, 2019
  5. May 04, 2019
  6. May 03, 2019
  7. May 02, 2019
  8. May 01, 2019
    • 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
  9. Apr 18, 2019
  10. Apr 11, 2019
  11. Apr 10, 2019
  12. Apr 09, 2019
    • 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
  13. Apr 07, 2019
  14. Apr 04, 2019
  15. Apr 03, 2019
  16. Mar 29, 2019
  17. Mar 26, 2019
  18. Mar 23, 2019
  19. Mar 22, 2019
  20. Mar 19, 2019
  21. Mar 18, 2019
    • 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
  22. Mar 12, 2019
  23. Mar 06, 2019
  24. Feb 26, 2019
  25. Feb 25, 2019
  26. Feb 21, 2019
  27. Feb 20, 2019
  28. Feb 17, 2019
  29. Feb 15, 2019