Go to file
Camillo 14af9c22db [heap][deserializer] Better HeapObject alignment checks
Unaglined allocations are not fully supported in V8.

- Set USE_ALLOCATION_ALIGNMENT_BOOL to false for documentation
- Verify HeapObject address alignment requirements with --verify-heap
- Move address alignment to right after allocation in the deserializer
- Use object_size in the CheckAlignment helper to get a chance to
  figure out which allocation path we took

Bug: chromium:1330861, v8:8875
Change-Id: Iffd02d869923ccec133618250dfefb0480b02741
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3717995
Reviewed-by: Igor Sheludko <ishell@chromium.org>
Reviewed-by: Toon Verwaest <verwaest@chromium.org>
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/main@{#81358}
2022-06-24 16:19:49 +00:00
.github
bazel
build_overrides
custom_deps
docs
gni Add exclude_imports flag to proto_library 2022-06-24 15:39:19 +00:00
include [sandbox] Add shared external pointer table for strings 2022-06-23 11:30:39 +00:00
infra [infra] Remove use_rbe from mb config 2022-06-20 11:12:53 +00:00
samples [flags] Fix initialization order in sample shell 2022-06-15 11:43:22 +00:00
src [heap][deserializer] Better HeapObject alignment checks 2022-06-24 16:19:49 +00:00
test [heap][deserializer] Better HeapObject alignment checks 2022-06-24 16:19:49 +00:00
testing
third_party
tools [tools] Improve system-analyzer profiler panel 2022-06-24 12:22:49 +00:00
.bazelrc
.clang-format
.clang-tidy
.editorconfig
.flake8
.git-blame-ignore-revs
.gitattributes
.gitignore
.gn
.mailmap
.style.yapf
.vpython
.vpython3
.ycm_extra_conf.py
AUTHORS
BUILD.bazel Fix bazel build 2022-06-22 19:42:28 +00:00
BUILD.gn heap: Add flag v8_enable_inner_pointer_resolution_osb 2022-06-22 10:12:38 +00:00
CODE_OF_CONDUCT.md
codereview.settings
COMMON_OWNERS
DEPS Update V8 DEPS (trusted-origins) 2022-06-24 04:49:29 +00:00
DIR_METADATA
ENG_REVIEW_OWNERS
INFRA_OWNERS
INTL_OWNERS
LICENSE
LICENSE.fdlibm
LICENSE.strongtalk
LICENSE.v8
LOONG_OWNERS
MIPS_OWNERS
OWNERS
PPC_OWNERS
PRESUBMIT.py
README.md
RISCV_OWNERS
S390_OWNERS
WATCHLISTS
WORKSPACE

V8 JavaScript Engine

V8 is Google's open source JavaScript engine.

V8 implements ECMAScript as specified in ECMA-262.

V8 is written in C++ and is used in Google Chrome, the open source browser from Google.

V8 can run standalone, or can be embedded into any C++ application.

V8 Project page: https://v8.dev/docs

Getting the Code

Checkout depot tools, and run

    fetch v8

This will checkout V8 into the directory v8 and fetch all of its dependencies. To stay up to date, run

    git pull origin
    gclient sync

For fetching all branches, add the following into your remote configuration in .git/config:

    fetch = +refs/branch-heads/*:refs/remotes/branch-heads/*
    fetch = +refs/tags/*:refs/tags/*

Contributing

Please follow the instructions mentioned at v8.dev/docs/contribute.