• 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
..
DIR_METADATA Loading commit data...
OWNERS Loading commit data...
accessor-assembler.cc Loading commit data...
accessor-assembler.h Loading commit data...
binary-op-assembler.cc Loading commit data...
binary-op-assembler.h Loading commit data...
call-optimization.cc Loading commit data...
call-optimization.h Loading commit data...
handler-configuration-inl.h Loading commit data...
handler-configuration.cc Loading commit data...
handler-configuration.h Loading commit data...
handler-configuration.tq Loading commit data...
ic-inl.h Loading commit data...
ic-stats.cc Loading commit data...
ic-stats.h Loading commit data...
ic.cc Loading commit data...
ic.h Loading commit data...
keyed-store-generic.cc Loading commit data...
keyed-store-generic.h Loading commit data...
stub-cache.cc Loading commit data...
stub-cache.h Loading commit data...
unary-op-assembler.cc Loading commit data...
unary-op-assembler.h Loading commit data...