[all-commits] [llvm/llvm-project] 47cda0: scudo: Use more size classes in the malloc_free_lo...

pcc via All-commits all-commits at lists.llvm.org
Mon Feb 3 13:18:55 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 47cda0cb36bfee8b99061eec59d17152608bf3cc
      https://github.com/llvm/llvm-project/commit/47cda0cb36bfee8b99061eec59d17152608bf3cc
  Author: Peter Collingbourne <peter at pcc.me.uk>
  Date:   2020-02-03 (Mon, 03 Feb 2020)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/benchmarks/malloc_benchmark.cpp

  Log Message:
  -----------
  scudo: Use more size classes in the malloc_free_loop benchmarks.

As a result of recent changes to the Android size classes, the malloc_free_loop
benchmark started exhausting the 8192 size class at 32768 iterations. To avoid
this problem (and to make the test more realistic), change the benchmark to
use a variety of size classes.

Differential Revision: https://reviews.llvm.org/D73918




More information about the All-commits mailing list