• Pan, Tao's avatar
    Reland "[compiler] Remove the optimized OSR code if deoptimizing at inside of loop" · c2d239dd
    Pan, Tao authored
    This is a reland of commit c8c17619
    
    This CL includes:
    
    - crrev.com/c/3679846 Add condition use_ic to the removing the optimized OSR code logic
    - crrev.com/c/3686589 Add out of bytecode array to break condition of removing OSR code cache logic
    - Add JumpLoop nesting level 0 to break condition of removing OSR code cache logic
    - Change to use Deoptimizer::DeoptimizeFunction() to deoptimize OSR code
    
    Original change's description:
    > [compiler] Remove the optimized OSR code if deoptimizing at inside of loop
    >
    > If the optimized code is deoptimized and the deoptimized exit offset is
    > inside of the optimized OSR code related loop, the optimized OSR code is
    > also out of date, remove the optimized OSR code, it will avoid hit the
    > optimized OSR code and soon later deoptimization of the optimized OSR
    > code.
    > This CL will reduce deoptimization. E.g. Deoptimization of JetStream2
    > case navier-stokes function addFields is reduced from twice to once.
    >
    > Change-Id: I5bbf3039e916c3736b5b967d1f36b6ea90cfd40b
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3648219
    > Reviewed-by: Leszek Swirski <leszeks@chromium.org>
    > Commit-Queue: Tao Pan <tao.pan@intel.com>
    > Cr-Commit-Position: refs/heads/main@{#80826}
    
    Bug: chromium:1330444
    Change-Id: I97a466ddfa764438b45f33c6ae33cb921d57278d
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3690451Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
    Commit-Queue: Tao Pan <tao.pan@intel.com>
    Cr-Commit-Position: refs/heads/main@{#81110}
    c2d239dd
Name
Last commit
Last update
.github Loading commit data...
bazel Loading commit data...
build_overrides Loading commit data...
custom_deps Loading commit data...
docs Loading commit data...
gni Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.bazelrc Loading commit data...
.clang-format Loading commit data...
.clang-tidy Loading commit data...
.editorconfig Loading commit data...
.flake8 Loading commit data...
.git-blame-ignore-revs Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.mailmap Loading commit data...
.style.yapf Loading commit data...
.vpython Loading commit data...
.vpython3 Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.bazel Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
COMMON_OWNERS Loading commit data...
DEPS Loading commit data...
DIR_METADATA Loading commit data...
ENG_REVIEW_OWNERS Loading commit data...
INFRA_OWNERS Loading commit data...
INTL_OWNERS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LOONG_OWNERS Loading commit data...
MIPS_OWNERS Loading commit data...
OWNERS Loading commit data...
PPC_OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
RISCV_OWNERS Loading commit data...
S390_OWNERS Loading commit data...
WATCHLISTS Loading commit data...
WORKSPACE Loading commit data...
codereview.settings Loading commit data...