• Dan Elphick's avatar
    [embedded] Share a single RelocInfo between all trampolines · 1bf6e735
    Dan Elphick authored
    Creates a single RelocInfo to be used by all builtin trampolines and
    stores it as a root. All trampolines then substitute this for their
    trampoline at generation time with DCHECKs to make sure it is
    identical.
    
    Also forces all non-trampoline RelocInfo ByteArrays for builtins to be
    generated into RO_SPACE.
    
    On x64, this results in the OLD_SPACE part of the startup snapshot
    decreasing in size from 166096 to 131248 (-34848) bytes and RO_SPACE
    (in the read-only snapshot) increasing from 31176 to 31248 (+72) bytes.
    
    Bug: v8:8295
    Change-Id: I69f4a899b738f2023ed42501c2b9797d34305b06
    Reviewed-on: https://chromium-review.googlesource.com/c/1276468
    Commit-Queue: Dan Elphick <delphick@chromium.org>
    Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
    Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#56811}
    1bf6e735
Name
Last commit
Last update
benchmarks 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...
.clang-format Loading commit data...
.clang-tidy Loading commit data...
.editorconfig 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...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...