• Mike Stanton's avatar
    [TurboFan] Provide concurrent access to feedback vector · 2288b1f6
    Mike Stanton authored
    This CL provides synchronized get/set to feedback vector slots.
    The FeedbackNexus is set up to use order preserving reads when used
    on the background thread, and a lock to ensure coherent read
    of information for ICKinds with two slots. The main thread takes
    the lock on sets.
    
    This test provides patterns to be followed by concurrent TurboFan.
    
    We don't yet access the FeedbackVector on the background thread.
    This CL only makes it safe to do so. The next step will come when
    the optimizing compiler begins to query the the vector from the
    background thread. Currently, with --concurrent-inlining turned on
    this is done in bytecode serialization on the main thread. Without
    concurrent inlining, it's also done on the main thread, in both
    cases using the FeedbackNexus.
    
    Bug: v8:7790
    Change-Id: I49d8b8031190f91a0da1c24f375b6b6d8a9fe038
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2276210
    Commit-Queue: Michael Stanton <mvstanton@chromium.org>
    Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
    Reviewed-by: 's avatarNico Hartmann <nicohartmann@chromium.org>
    Reviewed-by: 's avatarSantiago Aboy Solanes <solanes@chromium.org>
    Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#70797}
    2288b1f6
Name
Last commit
Last update
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...
.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...
.vpython Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS 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...
MIPS_OWNERS Loading commit data...
OWNERS Loading commit data...
PPC_OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
S390_OWNERS Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...