• Leszek Swirski's avatar
    [compiler-dispatcher] Enqueue tasks for non-eager inner funcs · 5ab1ec1e
    Leszek Swirski authored
    Add suppose for compiling non-eager, non-top-level inner functions in
    parallel, using the compiler dispatcher. This behaviour can be enabled
    with --parallel-compile-tasks-for-lazy.
    
    There are a couple of consequences:
    
      * To support this we need support for off-thread ScopeInfo
        deserialization, so this adds that too.
      * The previous --parallel-compile-tasks flag is renamed to the more
        descriptive --parallel-compile-tasks-for-eager-toplevel.
      * Both parallel-compile-tasks flags are moved onto
        UnoptimizedCompileFlags so that they can be enabled/disabled on a
        per-compile basis (e.g. enabled for streaming, disabled for
        re-parsing).
      * asm.js compilations can now happen without an active Context (in
        the compiler dispatcher's idle finalization) so we can't get a
        ContextId for metric reporting; we'd need to somehow fix this if we
        wanted asm.js UKM but for now it's probably fine.
      * Took the opportunity to clean up some of the "can preparse" logic in
        the parser.
    
    Change-Id: I20b1ec6a6bacfe268808edc8d812b92370c5840d
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3281924
    Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
    Reviewed-by: 's avatarEmanuel Ziegler <ecmziegler@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#78183}
    5ab1ec1e
Name
Last commit
Last update
..
api Loading commit data...
asmjs Loading commit data...
assembler Loading commit data...
base Loading commit data...
codegen Loading commit data...
compiler Loading commit data...
compiler-dispatcher Loading commit data...
date Loading commit data...
debug Loading commit data...
diagnostics Loading commit data...
execution Loading commit data...
heap Loading commit data...
interpreter Loading commit data...
libplatform Loading commit data...
logging Loading commit data...
numbers Loading commit data...
objects Loading commit data...
parser Loading commit data...
profiler Loading commit data...
regexp Loading commit data...
regress Loading commit data...
runtime Loading commit data...
security Loading commit data...
strings Loading commit data...
tasks Loading commit data...
torque Loading commit data...
utils Loading commit data...
wasm Loading commit data...
zone Loading commit data...
BUILD.gn Loading commit data...
DEPS Loading commit data...
avoid-windows-h-includes.cc Loading commit data...
run-all-unittests.cc Loading commit data...
test-helpers.cc Loading commit data...
test-helpers.h Loading commit data...
test-utils.cc Loading commit data...
test-utils.h Loading commit data...
testcfg.py Loading commit data...
unittests.status Loading commit data...