BackgroundThread function is quite large,
move mem profile initialization into a separate function.
Depends on D110151.
Paths
| Differential D110152
tsan: move mem profile initialization into separate function ClosedPublic Authored by dvyukov on Sep 21 2021, 4:15 AM.
Details Summary BackgroundThread function is quite large, Depends on D110151.
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Sep 21 2021, 1:54 PM
This revision was landed with ongoing or failed builds.Sep 22 2021, 1:18 AM Closed by commit rGe8101f2149df: tsan: move mem profile initialization into separate function (authored by dvyukov). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 374148 compiler-rt/lib/tsan/rtl/tsan_rtl.h
compiler-rt/lib/tsan/rtl/tsan_rtl.cpp
|
maybe call MaybeSpawnBackgroundThread(); not here but after call to InitializeMemoryProfiler
it looks like a general thread which is used by profiler only so far, but can be extended