• Clemens Hammacher's avatar
    [wasm] Skip deadlocking tests on predictable platform · 8ede52ba
    Clemens Hammacher authored
    The predictable platform can make tasks deadlock if the spawning task
    is holding a lock that the spawn task also wants to take. This is
    because the spawned task is just executed immediately within the
    "context" of the spawning task.
    
    The wasm async compile tests deadlock because the
    {BackgroundCompileTask}s hold the shared {BackgroundCompileToken}
    (reader lock) while spawning new tasks via {OnBackgroundTaskStopped} ->
    {RestartBackgroundTasks}. The new tasks might want to cancel
    compilation via {BackgroundCompileToken::Cancel}, which takes the
    writer lock and hence deadlocks.
    This can not happen on any other platform, since tasks are not nested
    that way.
    
    R=ahaas@chromium.org
    
    Bug: v8:9760
    No-Try: true
    Change-Id: I9fc34d5de386aa5c6fdd64a1570fddcff872ec95
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1816502Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#63904}
    8ede52ba
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer 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...
preparser 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...