summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h
diff options
context:
space:
mode:
authorTamas Berghammer <tberghammer@google.com>2015-10-14 10:38:22 +0000
committerTamas Berghammer <tberghammer@google.com>2015-10-14 10:38:22 +0000
commit3fe5ce0b3e37a23116371781da06d2fb779073ea (patch)
tree3926b6fd656380b4c068b9e5f3c10f7285ba3832 /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h
parent9eb6e2e3cbfa431be7f5180b5196e8f959a34379 (diff)
downloadbcm5719-llvm-3fe5ce0b3e37a23116371781da06d2fb779073ea.tar.gz
bcm5719-llvm-3fe5ce0b3e37a23116371781da06d2fb779073ea.zip
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 multi-thread access. The goal of the change is to prepare to multi-threaded symbol parsing code to speed up the symbol parsing speed. Differential revision: http://reviews.llvm.org/D13652 llvm-svn: 250289
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud