• Mythri A's avatar
    [turboprop] Fix DCHECK in SetOptimizedCode · b90aa33e
    Mythri A authored
    With --always-opt / %OptimizeFunctionOnNextCall it is also possible
    that we see CompileOptimizedConcurrent marker when we install optimized
    code. For example,
    1. Mark function for concurrent optimization and trigger a job.
    2. Create a new JSClosure and with --always-opt we optimize concurrently
    and install optimized code. This clears the marker.
    3. The installed optimized code is GCed or deopts and we re-mark the
    function for concurrent optimization.
    4. The optimize job created in step 1 finishes.
    
    Bug: v8:11139, chromium:1146714
    Change-Id: Ic2aa456b76d74d939441a84528bc5c27d9ea9381
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2529450Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
    Commit-Queue: Mythri Alle <mythria@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#71126}
    b90aa33e
feedback-vector.cc 50.7 KB