• 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
..
OWNERS Loading commit data...
test-c-wasm-entry.cc Loading commit data...
test-jump-table-assembler.cc Loading commit data...
test-run-wasm-64.cc Loading commit data...
test-run-wasm-asmjs.cc Loading commit data...
test-run-wasm-atomics.cc Loading commit data...
test-run-wasm-atomics64.cc Loading commit data...
test-run-wasm-interpreter.cc Loading commit data...
test-run-wasm-js.cc Loading commit data...
test-run-wasm-module.cc Loading commit data...
test-run-wasm-sign-extension.cc Loading commit data...
test-run-wasm-simd.cc Loading commit data...
test-run-wasm.cc Loading commit data...
test-streaming-compilation.cc Loading commit data...
test-wasm-breakpoints.cc Loading commit data...
test-wasm-codegen.cc Loading commit data...
test-wasm-import-wrapper-cache.cc Loading commit data...
test-wasm-interpreter-entry.cc Loading commit data...
test-wasm-serialization.cc Loading commit data...
test-wasm-shared-engine.cc Loading commit data...
test-wasm-stack.cc Loading commit data...
test-wasm-trap-position.cc Loading commit data...
wasm-atomics-utils.h Loading commit data...
wasm-run-utils.cc Loading commit data...
wasm-run-utils.h Loading commit data...