[all-commits] [llvm/llvm-project] c266bf: [scudo] Fix missing pushing 1 block to BatchClassId

ChiaHungDuan via All-commits all-commits at lists.llvm.org
Wed Apr 26 17:05:06 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c266bfe278bb586ddb03111c6656d5fe3a2ad554
      https://github.com/llvm/llvm-project/commit/c266bfe278bb586ddb03111c6656d5fe3a2ad554
  Author: Chia-hung Duan <chiahungduan at google.com>
  Date:   2023-04-27 (Thu, 27 Apr 2023)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/primary64.h

  Log Message:
  -----------
  [scudo] Fix missing pushing 1 block to BatchClassId

This was happened rarely. The only case is when a thread is teared down
and it only has one block of BatchClass and the freelist of BatchClass
is empty. The impact is leaking 1 block of BatchClass and which is minor.

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




More information about the All-commits mailing list