Trace pointers accessed very rarely and don't need to
be in hot data.
Depends on D111613.
Paths
| Differential D111614
[sanitizer] Move out stack trace pointer from header StackDepot ClosedPublic Authored by vitalybuka on Oct 12 2021, 12:06 AM.
Details
Diff Detail
Event Timelinevitalybuka added a child revision: D111615: [sanitizer] Remove use_count from StackDepotNode.Oct 12 2021, 12:07 AM Comment Actions This is not immediately obvious to me that this is beneficial. When we load the first node in the chain and follow node.link's, we are chasing random pointers anyway so for every access it's a cache miss anyway, no?
Comment Actions
I guess no immediate strong benefits for now. Perf improvements on large benchmarks below the noise.
Even less important:
This revision is now accepted and ready to land.Oct 14 2021, 5:31 AM Closed by commit rG8282024a7477: [sanitizer] Move out stack trace pointer from header StackDepot (authored by vitalybuka). · Explain WhyOct 14 2021, 9:23 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 378900 compiler-rt/lib/sanitizer_common/sanitizer_chained_origin_depot.cpp
compiler-rt/lib/sanitizer_common/sanitizer_stackdepot.cpp
compiler-rt/lib/sanitizer_common/sanitizer_stackdepotbase.h
|
restore empty line