v8/tools/testrunner/local
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
..
fake_testsuite [testrunner] enable the progress indicator 2019-02-12 16:03:17 +00:00
__init__.py
android.py [Compiler] Remove untrusted code mitigations. 2021-08-12 12:58:24 +00:00
command.py [tools] Make killing of processes more robust 2020-07-01 13:35:50 +00:00
pool_unittest.py [test] Abort testing immediately on interrupt and sigterm 2018-02-20 18:02:25 +00:00
pool.py [test] Make pool abort of test runner more robust 2020-02-18 14:08:18 +00:00
statusfile_unittest.py [Py3] Get tools/testrunner/local closer to Py3 2020-06-23 18:08:36 +00:00
statusfile.py [tools] Use absolute imports in testrunner 2021-09-30 07:54:10 +00:00
testsuite_unittest.py [test] Ignore optimization state in tests on number fuzzer 2019-04-12 12:50:55 +00:00
testsuite.py [tools] Use absolute imports in testrunner 2021-09-30 07:54:10 +00:00
utils.py [tools] Use absolute imports in testrunner 2021-09-30 07:54:10 +00:00
variants.py [compiler-dispatcher] Enqueue tasks for non-eager inner funcs 2021-12-01 13:14:09 +00:00
verbose.py Preparing v8 to use with python3 /tools/testrunner 2019-02-19 09:23:11 +00:00