• Clemens Hammacher's avatar
    [wasm] Fix deadlock on async compilation · be1b2d66
    Clemens Hammacher authored
    See referenced bug: Async compilation can deadlock if a background task
    queues the last compilation unit to be finished while the finisher
    is already exiting because there was no more work.
    This CL fixes this by making the finisher task check for new work after
    setting the finisher_is_running_ flag to false.
    
    R=ahaas@chromium.org
    CC=kimanh@google.com
    
    Bug: chromium:824681
    Change-Id: If1f5700a9fdd5d150b36e37a5d14b692c2b0f3fb
    Reviewed-on: https://chromium-review.googlesource.com/975301
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#52139}
    be1b2d66
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...
unittests Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
bot_default.isolate Loading commit data...
d8_default.isolate Loading commit data...
default.isolate Loading commit data...
optimize_for_size.isolate Loading commit data...
perf.isolate Loading commit data...