[all-commits] [llvm/llvm-project] 437b76: [NFC][lsan] Use LowLevelAllocator to allocate Thre...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Mon Apr 17 20:05:45 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 437b7602e4a998220871de78afcb020b9c14a661
      https://github.com/llvm/llvm-project/commit/437b7602e4a998220871de78afcb020b9c14a661
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2023-04-17 (Mon, 17 Apr 2023)

  Changed paths:
    M compiler-rt/lib/lsan/lsan_thread.cpp

  Log Message:
  -----------
  [NFC][lsan] Use LowLevelAllocator to allocate ThreadContext

This is more RAM and CPU efficient than allocating entire page per
context, and this approach is used by other sanitizers already.

With the patch "create_thread_loop2.cpp.tmp 5000" is 30% faster.




More information about the All-commits mailing list