• Leszek Swirski's avatar
    [compiler] Mark shared functions which have an optimization job · 822aef29
    Leszek Swirski authored
    Marking shared functions for tier-up was optimizing the functions
    non-concurrently, to avoid the case where the same shared function is
    optimized concurrently by multiple JS functions. This was particularly a
    problem for small functions, which (if called in a loop) could get
    marked for optimisation quite quickly.
    
    In this CL, the shared function is instead marked as having an active
    optimization job running, and these do not spawn a compilation job.
    
    BUG=693590
    
    Change-Id: I3df93fbf9cec7eda8229fcf416d7c429c06bec86
    Reviewed-on: https://chromium-review.googlesource.com/446836
    Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    Reviewed-by: 's avatarMichael Stanton <mvstanton@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#43778}
    822aef29
objects-inl.h 253 KB