[all-commits] [llvm/llvm-project] 1865c7: [scudo] Store more blocks in each TransferBatch (#...

ChiaHungDuan via All-commits all-commits at lists.llvm.org
Mon Feb 26 11:04:20 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1865c7ea8561407626fe5489ae07647035413d7c
      https://github.com/llvm/llvm-project/commit/1865c7ea8561407626fe5489ae07647035413d7c
  Author: ChiaHungDuan <chiahungduan at google.com>
  Date:   2024-02-26 (Mon, 26 Feb 2024)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/allocator_common.h
    M compiler-rt/lib/scudo/standalone/primary32.h
    M compiler-rt/lib/scudo/standalone/primary64.h
    M compiler-rt/lib/scudo/standalone/tests/primary_test.cpp

  Log Message:
  -----------
  [scudo] Store more blocks in each TransferBatch (#70390)

Instead of always storing the same number of blocks as cached, we prefer
increasing the utilization by saving more blocks in a single
TransferBatch. This may slightly impact the performance, but it will
save a lot of memory used by BatchClassId (especially for larger
blocks).



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list