• Ross McIlroy's avatar
    Reland "[RCS] Create thread local runtime call stats tables for worker threads" · e36b49bd
    Ross McIlroy authored
    This is a reland of 1e5b6d99
    
    Original change's description:
    > [RCS] Create thread local runtime call stats tables for worker threads
    >
    > Creating a runtime call stats table for each worker thread task is expensive.
    > Instead we create a single table per thread, and use TLS to get the correct one
    > when starting a worker thread task.
    >
    > In order to correctly initialize the parser, scanner and parse-info's runtime
    > call stats fields, we move creation of the scanner and parser onto the
    > background tasks for BackgroundCompileTask and UnoptimizedCompilationJob.
    >
    > Change-Id: I36064c7fb43290968620b1985cc02637b16f4232
    > Reviewed-on: https://chromium-review.googlesource.com/1187522
    > Reviewed-by: Toon Verwaest <verwaest@chromium.org>
    > Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#55448}
    
    TBR=verwaest@chromium.org
    
    Change-Id: I7c2f48280651d7632d99ee22d86260c72bc16185
    Reviewed-on: https://chromium-review.googlesource.com/1193463
    Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
    Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#55456}
    e36b49bd
Name
Last commit
Last update
..
OWNERS Loading commit data...
duplicate-finder.h Loading commit data...
expression-classifier.h Loading commit data...
expression-scope-reparenter.cc Loading commit data...
expression-scope-reparenter.h Loading commit data...
func-name-inferrer.cc Loading commit data...
func-name-inferrer.h Loading commit data...
parse-info.cc Loading commit data...
parse-info.h Loading commit data...
parser-base.h Loading commit data...
parser.cc Loading commit data...
parser.h Loading commit data...
parsing.cc Loading commit data...
parsing.h Loading commit data...
pattern-rewriter.cc Loading commit data...
preparsed-scope-data.cc Loading commit data...
preparsed-scope-data.h Loading commit data...
preparser-logger.h Loading commit data...
preparser.cc Loading commit data...
preparser.h Loading commit data...
rewriter.cc Loading commit data...
rewriter.h Loading commit data...
scanner-character-streams.cc Loading commit data...
scanner-character-streams.h Loading commit data...
scanner-inl.h Loading commit data...
scanner.cc Loading commit data...
scanner.h Loading commit data...
token.cc Loading commit data...
token.h Loading commit data...