[all-commits] [llvm/llvm-project] b0ec18: [scudo] Extract steps releaseToOSMaybe into functi...

ChiaHungDuan via All-commits all-commits at lists.llvm.org
Wed Jul 5 13:32:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b0ec18a3d10c46b3e483862a4c3ef31196869e0f
      https://github.com/llvm/llvm-project/commit/b0ec18a3d10c46b3e483862a4c3ef31196869e0f
  Author: Chia-hung Duan <chiahungduan at google.com>
  Date:   2023-07-05 (Wed, 05 Jul 2023)

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

  Log Message:
  -----------
  [scudo] Extract steps releaseToOSMaybe into functions in

This refactor helps us identify which steps need FLLock so that we can
reduce the holding time of FLLock in SizeClassAllocator64.

Also move the data members to the end of class to align the style in
SizeClassAllocator32.

Reviewed By: cferris

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




More information about the All-commits mailing list