• Mythri A's avatar
    [turboprop] Change heuristics for OSRing in TurboProp · bd9609a0
    Mythri A authored
    Change the heuristics for OSRing in TurboProp. Currently we OSR if
    a funciton is already optimized / marked for optimization but is still
    running optimized code. Since TurboProp optimizes much earlier than
    TurboFan using the same heuristics would cause us to OSR more often
    than required. This cl adds an additional check on the number of ticks
    to make sure the function is hot enough for OSRing.
    
    Bug: v8:9684
    Change-Id: I7a1c8229182a928fd85efb23e2d385413c5209ef
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2339098
    Commit-Queue: Mythri Alle <mythria@chromium.org>
    Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#69252}
    bd9609a0
runtime-profiler.cc 9.55 KB