• Clemens Hammacher's avatar
    [wasm] Re-request stack guard for code logging · 65a6dae9
    Clemens Hammacher authored
    The current logic sometimes skips the request for a code logging stack
    guard request, even though no such request is pending. This happens if
    the previous stack guard already executed, but a foreground task is
    still pending.
    This CL fixes this by re-requesting a stack guard interrupt when the
    first code is added to the vector of outstanding code to be logged.
    
    Plus minor drive-by fix.
    
    R=mstarzinger@chromium.org
    
    Bug: v8:9163
    Change-Id: I4937f3983f15e7122141b04ddb1432cd1f78828b
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1578461
    Auto-Submit: Clemens Hammacher <clemensh@chromium.org>
    Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#60970}
    65a6dae9
wasm-engine.cc 29 KB