• Leszek Swirski's avatar
    [maglev] Add a maglev-specific safepoint mechanism · 76356780
    Leszek Swirski authored
    Maglev groups all its tagged spill slots together, and the number of
    them doesn't change. This means that the generality of the existing
    safepoint mechanism is massive overkill for maglev code.
    
    This patch adds a maglev-specific safepoint table, which is the
    safepoint of a code object if-and-only-if that code object has maglev
    code. This safepoint stores the number of tagged and untagged slots
    once, globally, and individual entries are just used for deopts and for
    storing the state of pushed registers (this is currently unused, but
    will be used in the future for pushing registers in deferred calls).
    
    Bug: v8:7700
    Change-Id: I15f84a6e957357825e84e33238f8a36f2e0b3012
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3747858
    Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#81564}
    76356780
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...
riscv64 Loading commit data...
s390 Loading commit data...
x64 Loading commit data...
DEPS Loading commit data...
DIR_METADATA Loading commit data...
OWNERS Loading commit data...
deoptimize-reason.cc Loading commit data...
deoptimize-reason.h Loading commit data...
deoptimized-frame-info.cc Loading commit data...
deoptimized-frame-info.h Loading commit data...
deoptimizer-cfi-builtins.cc Loading commit data...
deoptimizer-cfi-empty.cc Loading commit data...
deoptimizer.cc Loading commit data...
deoptimizer.h Loading commit data...
frame-description.h Loading commit data...
materialized-object-store.cc Loading commit data...
materialized-object-store.h Loading commit data...
translated-state.cc Loading commit data...
translated-state.h Loading commit data...
translation-array.cc Loading commit data...
translation-array.h Loading commit data...
translation-opcode.h Loading commit data...