• Clemens Backes's avatar
    [wasm] Move OperationsBarrier::Token to NativeModule · 0cad8a53
    Clemens Backes authored
    The NativeModule should not die before the WasmEngine, since state owned
    by the engine will still be accessed in the destructor of the
    NativeModule.
    This CL ensures that by moving the OperationsBarrier from the
    CompilationStateImpl to the NativeModule.
    
    R=thibaudm@chromium.org, etiennep@chromium.org
    
    Bug: v8:11250, v8:11243
    Change-Id: Ic4d69222e9e6076578c35986b0051817dbd8dbef
    Cq-Include-Trybots: luci.v8.try:v8_linux64_tsan_rel_ng
    Cq-Include-Trybots: luci.v8.try:v8_linux64_tsan_isolates_rel_ng
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2581959
    Commit-Queue: Clemens Backes <clemensb@chromium.org>
    Reviewed-by: 's avatarThibaud Michaud <thibaudm@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#71696}
    0cad8a53
wasm-code-manager.h 37.7 KB