[Lldb-commits] [PATCH] D13652: Change ConstString to support massive multi-threaded access
Tamas Berghammer via lldb-commits
lldb-commits at lists.llvm.org
Mon Oct 12 07:33:57 PDT 2015
tberghammer created this revision.
tberghammer added reviewers: labath, clayborg.
tberghammer added a subscriber: lldb-commits.
Change ConstString to support massive multi-threaded access
Previously ConstString had a single mutex guarding the global string
pool for each access what become a bottleneck when using it with a
large number of threads.
This CL distributes the strings to 256 individual string pools based on
a simple hash function to eliminate the bottleneck and speed up the
The goal of the change is to prepare to multi-threaded symbol parsing code
to speed up the symbol parsing speed.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6288 bytes
Desc: not available
More information about the lldb-commits