v8/tools/testrunner
Leszek Swirski 5ab1ec1e06 [compiler-dispatcher] Enqueue tasks for non-eager inner funcs
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: Toon Verwaest <verwaest@chromium.org>
Reviewed-by: Emanuel Ziegler <ecmziegler@chromium.org>
Cr-Commit-Position: refs/heads/main@{#78183}
2021-12-01 13:14:09 +00:00
..
local [compiler-dispatcher] Enqueue tasks for non-eager inner funcs 2021-12-01 13:14:09 +00:00
objects [tools] Use absolute imports in testrunner 2021-09-30 07:54:10 +00:00
outproc Add PASS expectations in NumFuzz behind infra-staging 2021-08-27 13:23:49 +00:00
testproc [numfuzz] Extend numfuzz with more interrupt-budget fuzzing 2021-11-26 15:08:50 +00:00
utils Preparing v8 to use with python3 /tools/testrunner 2019-02-19 09:23:11 +00:00
__init__.py
base_runner.py [dict-tracking] Disable --concurrent-inlining under dict-tracking 2021-10-19 12:08:37 +00:00
num_fuzzer.py [numfuzz] Add an interrupt-budget fuzzer 2021-11-26 13:23:52 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00
PRESUBMIT.py [presubmit] Clean up insensitive terms 2020-07-27 18:05:48 +00:00
standard_runner.py [tools] Use absolute imports in testrunner 2021-09-30 07:54:10 +00:00
test_config.py Introduce regenerate-expected-files for run-test 2020-03-03 18:58:24 +00:00
trycatch_loader.js [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00