• Z Nguyen-Huu's avatar
    Reland "[wasm] Tierdown wasm module upon "Debugger.enable"" · 1f7861c8
    Z Nguyen-Huu authored
    This is a reland of 410ca4c5
    
    Skip new test for unsupported liftoff architecture.
    Previously, if there is some unsupported liftoff functions, it fall
    through Turbofan but recompilation didn't catch and count it. This CL
    fixes it by using requested_tier on finished units.
    
    Avoid to tier down asm.js.
    Introduce reached recompilation tier to monitor recompilation progress.
    
    Original change's description:
    > [wasm] Tierdown wasm module upon "Debugger.enable"
    >
    > Put a logic in Wasm Engine to tier down all existing modules per isolate
    > when debugger is enabled. This CL does not handle new module added after
    > debugger is enabled yet.
    >
    > Bug: v8:9654
    > Change-Id: I87060f5c416506543fcaf231bff9999d06ba4c0d
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2013692
    > Commit-Queue: Z Nguyen-Huu <duongn@microsoft.com>
    > Reviewed-by: Simon Zünd <szuend@chromium.org>
    > Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
    > Reviewed-by: Clemens Backes <clemensb@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#66017}
    
    TBR=szuend@chromium.org,bmeurer@chromium.org
    
    Bug: v8:9654
    Change-Id: I6014ae52d1e04726e64ee9267c5ce559090414d7
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2031744
    Commit-Queue: Z Nguyen-Huu <duongn@microsoft.com>
    Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#66164}
    1f7861c8
debug-interface.h 18.1 KB