Go to file
Michael Lippautz 2c37749081 [heap] Conservatively scan for TracedNode GlobalHandle
v8::TracedReference is supposed to be used from objects allocated on
CppHeap. Such objects can be in construction during garbage
collection, meaning that they are unable to invoke
Trace(v8::TraceReference) as they have not been properly set up.

It is thus necessary to use conservative tracing to find
v8::TracedReference (backed by TracedNode in GlobalHandle) in
in-construction objects.

Change-Id: I5b4ac6e7805ff7ded33f63a405db65ea08d809ad
Bug: v8:13141, chromium:1322114
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3806439
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Reviewed-by: Dominik Inführ <dinfuehr@chromium.org>
Reviewed-by: Anton Bikineev <bikineev@chromium.org>
Cr-Commit-Position: refs/heads/main@{#82188}
2022-08-04 08:26:25 +00:00
.github
bazel [heap] Remove all leftover uses of v8_enable_atomic_marking_state 2022-06-07 10:30:57 +00:00
build_overrides
custom_deps
docs
gni Revert "[riscv32] Add RISCV32 backend" 2022-08-03 11:20:54 +00:00
include Revert "[riscv32] Add RISCV32 backend" 2022-08-03 11:20:54 +00:00
infra Add configuration for V8 Mac - arm64 - no pointer compression debug builder 2022-07-28 11:43:40 +00:00
samples [sandbox] Initialize sandbox during V8::Initialize 2022-07-15 09:29:32 +00:00
src [heap] Conservatively scan for TracedNode GlobalHandle 2022-08-04 08:26:25 +00:00
test [heap] Conservatively scan for TracedNode GlobalHandle 2022-08-04 08:26:25 +00:00
testing [test] Migrate cctest/test-api-accessors.cc to unittests/ 2022-05-17 08:27:55 +00:00
third_party google_benchmark: Manually roll and fix build 2022-07-25 07:47:46 +00:00
tools Revert "[d8] Dump stack trace on d8 tests timeouts on posix systems" 2022-08-03 14:35:24 +00:00
.bazelrc [bazel] Use v8_enable_handle_zapping only in debug builds. 2022-01-11 11:32:39 +00:00
.clang-format
.clang-tidy
.editorconfig Add .editorconfig 2017-07-28 13:39:24 +00:00
.flake8
.git-blame-ignore-revs
.gitattributes
.gitignore [infra] Fork test262-harness 2022-02-23 18:47:35 +00:00
.gn
.mailmap
.style.yapf [tools] Add basic pointer compression to grokdump 2022-02-04 14:35:26 +00:00
.vpython Verify mac-arm64 wheels for v8/.vpython spec. 2021-09-15 21:11:50 +00:00
.vpython3 [python3] Add missing python3 dependency 2022-06-07 14:55:36 +00:00
.ycm_extra_conf.py
AUTHORS [fastcall] Implement support for Uint8Array arguments 2022-07-22 09:05:41 +00:00
BUILD.bazel [heap] Eliminate fast promotion mode 2022-08-02 15:15:43 +00:00
BUILD.gn Revert "[riscv32] Add RISCV32 backend" 2022-08-03 11:20:54 +00:00
CODE_OF_CONDUCT.md
codereview.settings
COMMON_OWNERS add tebbi@chromium.org to COMMON_OWNERS 2022-03-08 14:08:25 +00:00
DEPS Update V8 DEPS (trusted-origins) 2022-08-04 04:52:36 +00:00
DIR_METADATA
ENG_REVIEW_OWNERS Adding vahl@ as owner to speed up merge handling 2022-07-01 08:06:14 +00:00
INFRA_OWNERS [infra] Add alexschulze@ as infra owner 2022-07-18 09:08:54 +00:00
INTL_OWNERS add ftang as owner 2020-04-24 19:19:36 +00:00
LICENSE
LICENSE.fdlibm
LICENSE.strongtalk
LICENSE.v8 Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LOONG_OWNERS [LOONG64] Add LoongArch64 backend 2021-08-16 13:05:19 +00:00
MIPS_OWNERS [mips] Add LiuYu to MIPS_OWNERS 2021-09-08 01:38:52 +00:00
OWNERS Revert "[riscv32] Add RISCV32 backend" 2022-08-03 11:20:54 +00:00
PPC_OWNERS
PRESUBMIT.py [wasm] Limit module size in streaming decoder 2022-07-08 09:43:41 +00:00
README.md
RISCV_OWNERS Add Lu Yahan to RISC-V owners list 2021-09-13 16:35:00 +00:00
S390_OWNERS
WATCHLISTS [WATCHLISTS] Add riscv watch 2022-07-30 11:20:10 +00:00
WORKSPACE [bazel] Cleanup style with Buildifier. 2022-01-11 10:00:36 +00:00

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.