• Clemens Hammacher's avatar
    [wasm] Split compilation in three stages · 4e1d7c87
    Clemens Hammacher authored
    In order to refactor ownership between objects in wasm compilation, the
    compilation (executed by background tasks) is split in three stages:
    getting a compilation unit (while holding a mutex), executing the work
    (without any mutex and without keeping the NativeModule alive), and
    submitting the work (with a mutex again).
    
    This CL prepares this design by splitting compilation from submission.
    Both steps are still executed right after each other. This will be
    changed in a follow-up CL.
    
    R=titzer@chromium.org
    CC=mstarzinger@chromium.org
    
    Bug: v8:8689
    Change-Id: I2f92aee8e2f2d45470d8c63314ed026341630902
    Reviewed-on: https://chromium-review.googlesource.com/c/1414920Reviewed-by: 's avatarBen Titzer <titzer@chromium.org>
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#58929}
    4e1d7c87
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-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...