• Mythri A's avatar
    [turboprop] Adjust OSR heuristics for Turboprop · 301b354e
    Mythri A authored
    Turboprop should tierup to OSR roughly at the same time as TurboFan,
    so we wait for kProfilerTicksForTurboPropOSR ticks before OSRing. This
    value was incorrect because we OSR after 4 ticks (we increment the ticks
    after the tiering up decision). Also, we wait for additional ticks based
    on function size. That should also adjust for the lower interrupt budget
    on Turboprop.
    
    Bug: v8:9684
    Change-Id: I84c0afadd0562e598bbbe1c0cf904d7488c70261
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2532295
    Commit-Queue: Mythri Alle <mythria@chromium.org>
    Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#71135}
    301b354e
runtime-profiler.cc 12.3 KB