• Andreas Haas's avatar
    [wasm] Fix --single-threaded for WebAssembly compilation · 7fa695a2
    Andreas Haas authored
    Due to the transition to the jobs API, WebAssembly compilation was using
    background threads, even when --single-threaded and therefore
    --wasm-num-compilation-tasks=0 was used. With this CL, the compilation
    job is started with a maximum concurrency of 0 when
    --wasm-num-compilation-tasks=0. To ensure compilation progress in
    asynchronous compilation, the main thread waits for baseline compilation
    to finish right after initializing all compilation units, and thereby
    participates in the compilation.
    
    R=clemensb@chromium.org
    
    Bug: v8:11279
    Change-Id: I85f93f82c00cdbd6afd46110599089a052101a00
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2599546Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Commit-Queue: Andreas Haas <ahaas@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#71944}
    7fa695a2
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
debugging Loading commit data...
fuzzer Loading commit data...
fuzzilli Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-api-tests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...