• Milad Fa's avatar
    PPC/s390: [heap] Add shared barrier to RecordWrite builtin · 93150467
    Milad Fa authored
    Port c5d48121
    
    Original Commit Message:
    
        This CL adds the shared barrier to the RecordWrite builtin which is
        used in generated code for builtins, interpreted and optimized code.
    
        The out-of-line part of the barrier now checks whether either the
        POINTERS_TO_HERE_ARE_INTERESTING or the IN_SHARED_HEAP bit is set in
        the value object's page flags.
    
        Outside of marking the RecordWrite builtin now needs to check whether
        to insert into the generational or shared remembered set. Inserting
        into the shared remembered set will always call into C++ code.
    
        During marking the RecordWrite builtin now also needs to check whether
        this store created an old-to-shared pointer.
    
    R=dinfuehr@chromium.org, joransiu@ca.ibm.com, junyan@redhat.com, midawson@redhat.com
    BUG=
    LOG=N
    
    Change-Id: I850fc234fa34868c6320fc64c6dac7e2f24af1c3
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3825891
    Commit-Queue: Milad Farazmand <mfarazma@redhat.com>
    Reviewed-by: 's avatarDominik Inführ <dinfuehr@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#82399}
    93150467
Name
Last commit
Last update
..
arm Loading commit data...
arm64 Loading commit data...
ia32 Loading commit data...
loong64 Loading commit data...
mips Loading commit data...
mips64 Loading commit data...
ppc Loading commit data...
riscv Loading commit data...
s390 Loading commit data...
x64 Loading commit data...
DIR_METADATA Loading commit data...
OWNERS Loading commit data...
code-generator-impl.h Loading commit data...
code-generator.cc Loading commit data...
code-generator.h Loading commit data...
frame-elider.cc Loading commit data...
frame-elider.h Loading commit data...
gap-resolver.cc Loading commit data...
gap-resolver.h Loading commit data...
instruction-codes.h Loading commit data...
instruction-scheduler.cc Loading commit data...
instruction-scheduler.h Loading commit data...
instruction-selector-impl.h Loading commit data...
instruction-selector.cc Loading commit data...
instruction-selector.h Loading commit data...
instruction.cc Loading commit data...
instruction.h Loading commit data...
jump-threading.cc Loading commit data...
jump-threading.h Loading commit data...
mid-tier-register-allocator.cc Loading commit data...
mid-tier-register-allocator.h Loading commit data...
move-optimizer.cc Loading commit data...
move-optimizer.h Loading commit data...
register-allocation.h Loading commit data...
register-allocator-verifier.cc Loading commit data...
register-allocator-verifier.h Loading commit data...
register-allocator.cc Loading commit data...
register-allocator.h Loading commit data...
spill-placer.cc Loading commit data...
spill-placer.h Loading commit data...
unwinding-info-writer.h Loading commit data...