• Ross McIlroy's avatar
    Reland "[Compile] Refactor BackgroundCompileTask to enable its use by CompilerDispatcher" · dc204cc6
    Ross McIlroy authored
    This is a reland of 31228a69
    
    TBR=yangguo@chromium.org,verwaest@chromium.org
    
    Original change's description:
    > [Compile] Refactor BackgroundCompileTask to enable its use by CompilerDispatcher
    >
    > Splits background compilation data out of ScriptStreamingData and into
    > BackgroundCompileTask. Also makes BackgroundCompileTask no longer a sub-class
    > of ScriptStreamingTask, and instead have ScriptStreamingTask delegate to a
    > BackgroundCompileTask.
    >
    > As part of this change, we now create the CharacterStream on the main thread,
    > and therefore have to set the (thread-local) runtime_call_stats on the already
    > created CharacterStream when the BackgroundCompileTask is run on the background
    > thread. As such, changes to CharacterStream were needed to feed the
    > runtime_call_stats through appropriately.
    >
    > Deprecates Source::GetCachedData and StreamedSource::GetCachedData since they are
    > no longer used, and the streamed source never has cached data (streaming is
    > suppressed if cached data is available). Also removes Utf8ChunkedStream which
    > is dead code.
    >
    > BUG=v8:8041, v8:8015
    > TBR=yangguo@chromium.org
    >
    > Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
    > Change-Id: Ifcc723ebf930a1dc01135fcb70929d6168471cb3
    > Reviewed-on: https://chromium-review.googlesource.com/1236353
    > Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
    > Reviewed-by: Toon Verwaest <verwaest@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#56182}
    
    Bug: v8:8041, v8:8015
    Change-Id: Ied5132c537d4c25c6e355f289c2a9cc1f8ff98e9
    Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
    Reviewed-on: https://chromium-review.googlesource.com/1242097
    Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
    Reviewed-by: 's avatarMaya Lekova <mslekova@chromium.org>
    Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#56201}
    dc204cc6
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-impl.h 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...