• Z Nguyen-Huu's avatar
    Reland "[wasm] Perform NativeModule tier down in parallel." · 30f94ea4
    Z Nguyen-Huu authored
    This is a reland of faccc95b
    
    Since 1c9bb77d, async jobs use existing
    entry in native module cache and skip recompilation so we need to fix
    the test.
    
    Original change's description:
    > Reland "[wasm] Perform NativeModule tier down in parallel."
    >
    > This is a reland of 3352fcc9
    >
    > Disable stress-opt for test and check recompilation before clearing
    > callbacks.
    >
    > Original change's description:
    > > [wasm] Perform NativeModule tier down in parallel.
    > >
    > > Reuse logic in {CompileNativeModule} function in module-compiler.cc:
    > > initialize parallel compile jobs, then wait for them to finish while
    > > taking part in this compilation.
    > >
    > > Bug: v8:9654
    > > Change-Id: I9974d9f8b516e9faec716a592c7c0ee9c7077d8e
    > > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1977041
    > > Commit-Queue: Z Nguyen-Huu <duongn@microsoft.com>
    > > Reviewed-by: Clemens Backes <clemensb@chromium.org>
    > > Cr-Commit-Position: refs/heads/master@{#65763}
    >
    > Bug: v8:9654
    > Change-Id: I8e8830f05e189596207365b7332a2cc25e493e47
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2002945
    > Commit-Queue: Z Nguyen-Huu <duongn@microsoft.com>
    > Reviewed-by: Clemens Backes <clemensb@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#65901}
    
    Bug: v8:9654
    Change-Id: Ia63b86d4275088d93202046bc9823e6202b7991a
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2012986Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Commit-Queue: Z Nguyen-Huu <duongn@microsoft.com>
    Cr-Commit-Position: refs/heads/master@{#65929}
    30f94ea4
module-compiler.cc 112 KB