• Mythri A's avatar
    Mark functions for optimization only on bytecode budget interrupts · 9efe315e
    Mythri A authored
    We used to mark functions for optimization on any interrupt. This sometimes
    causes functions to OSR when not needed. The implementation was such because
    we didn't have a different runtime function to distinguish bytecode budget
    interrupts from other interrupts. For lazy feedback allocation we added a
    new runtime function for bytecode budget interrupts so it makes it easier
    to actually mark functions only when needed.
    
    This also includes a fix to reduce the stack limits for interrupts when
    entering a scope that allows interrupts from a postponed interrupt scope.
    
    Bug: chromium:993061
    Change-Id: Iaf7b4dccb7a503e5b6bfcbb993bc7482aa593955
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1829218Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
    Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
    Commit-Queue: Mythri Alle <mythria@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#64048}
    9efe315e
stack-guard.cc 10.7 KB