[all-commits] [llvm/llvm-project] 6a7bbf: [memprof][NFC] Free symbolizer memory eagerly (#75...

Teresa Johnson via All-commits all-commits at lists.llvm.org
Mon Dec 18 20:50:22 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6a7bbf712df5637a93dbc4f918e7a69e23aa917c
      https://github.com/llvm/llvm-project/commit/6a7bbf712df5637a93dbc4f918e7a69e23aa917c
  Author: Teresa Johnson <tejohnson at google.com>
  Date:   2023-12-18 (Mon, 18 Dec 2023)

  Changed paths:
    M llvm/include/llvm/ProfileData/RawMemProfReader.h
    M llvm/lib/ProfileData/RawMemProfReader.cpp

  Log Message:
  -----------
  [memprof][NFC] Free symbolizer memory eagerly (#75849)

Move the ownership of the symbolizer into symbolizeAndFilterStackFrames
so that it is freed on exit, when we are done with it, to reduce peak
memory in the reader. This reduces about 9G from the peak for one large
profile.




More information about the All-commits mailing list