• Ross McIlroy's avatar
    [Compile] Refactor BackgroundCompileTask to enable its use by CompilerDispatcher · 31228a69
    Ross McIlroy authored
    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: 's avatarToon Verwaest <verwaest@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#56182}
    31228a69
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
custom_deps Loading commit data...
docs Loading commit data...
gni Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.clang-tidy Loading commit data...
.editorconfig Loading commit data...
.git-blame-ignore-revs Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.vpython Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...