node/deps/v8
Joyee Cheung 8ee5b26f86 deps: V8: backport bef0d9c1bc90
Original commit message:

    [api] Add V8::GetWasmMemoryReservationSizeInBytes()

    When the system does not have enough virtual memory for the wasm
    cage, installing the trap handler would cause any code allocating
    wasm memory to throw. Therefore it's useful for the embedder to
    know when the system doesn't have enough virtual address space
    to allocate enough wasm cages and in that case, skip the
    trap handler installation so that wasm code can at least work
    (even not at the maximal performance).

    Node.js previously has a command line option
    --disable-wasm-trap-handler to fully disable trap-based bound checks,
    this new API would allow it to adapt automatically while keeping the
    optimization in the happy path, since it's not always possible for
    end users to opt-into disabling trap-based bound checks (for example,
    when a VS Code Server is loaded in a remote server for debugging).

    Refs: https://github.com/nodejs/node/pull/62132
    Refs: https://github.com/microsoft/vscode/issues/251777
    Change-Id: I345c076af2b2b47700e5716b49c3133fdf8a0981
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7638233
    Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
    Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
    Commit-Queue: Joyee Cheung <joyee@igalia.com>
    Reviewed-by: Clemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#105702}

Refs: bef0d9c1bc
Co-authored-by: Joyee Cheung <joyeec9h3@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/62132
Refs: https://github.com/microsoft/vscode/issues/251777
Refs: https://chromium-review.googlesource.com/c/v8/v8/+/7638233
Reviewed-By: Aditi Singh <aditisingh1400@gmail.com>
2026-04-02 22:41:30 +00:00
..
.github
bazel deps: update V8 to 14.2.231.9 2025-10-23 07:36:34 +02:00
build_overrides
custom_deps
docs
gni deps: update V8 to 14.3.127.12 2025-11-13 15:08:26 +01:00
include deps: V8: backport bef0d9c1bc90 2026-04-02 22:41:30 +00:00
infra deps: update V8 to 14.3.127.12 2025-11-13 15:08:26 +01:00
samples deps: update V8 to 14.3.127.12 2025-11-13 15:08:26 +01:00
src deps: V8: backport bef0d9c1bc90 2026-04-02 22:41:30 +00:00
test deps: V8: backport bef0d9c1bc90 2026-04-02 22:41:30 +00:00
testing
third_party deps: V8: cherry-pick highway@989a498fdf3 2025-11-13 19:32:11 +00:00
tools deps: update V8 to 14.3.127.12 2025-11-13 15:08:26 +01:00
.bazelrc
.clang-format deps: update V8 to 14.3.127.12 2025-11-13 15:08:26 +01:00
.clang-tidy
.editorconfig
.flake8
.git-blame-ignore-revs
.gitattributes
.gitignore deps: update V8 to 14.3.127.12 2025-11-13 15:08:26 +01:00
.gn
.mailmap
.style.yapf
.vpython3
.ycm_extra_conf.py deps: update V8 to 14.2.231.9 2025-10-23 07:36:34 +02:00
AUTHORS deps: V8: backport 6a0a25abaed3 2026-02-08 14:23:33 +01:00
BUILD.bazel build,test: test array index hash collision 2026-03-24 19:50:03 -03:00
BUILD.gn build,test: test array index hash collision 2026-03-24 19:50:03 -03:00
CODE_OF_CONDUCT.md
codereview.settings
COMMON_OWNERS
DEPS deps: V8: backport 2e4c5cf9b112 2025-11-13 15:09:26 +01:00
DIR_METADATA
ENG_REVIEW_OWNERS
GEMINI.md deps: update V8 to 14.3.127.12 2025-11-13 15:08:26 +01:00
INFRA_OWNERS
INTL_OWNERS
LICENSE
LICENSE.fdlibm
LICENSE.strongtalk
LICENSE.v8
LOONG_OWNERS
MIPS_OWNERS
MODULE.bazel deps: update V8 to 14.2.231.9 2025-10-23 07:36:34 +02:00
OWNERS
PPC_OWNERS
PRESUBMIT.py deps: update V8 to 14.2.231.9 2025-10-23 07:36:34 +02:00
pyrightconfig.json
README.md
RISCV_OWNERS deps: update V8 to 14.3.127.12 2025-11-13 15:08:26 +01:00
S390_OWNERS
WATCHLISTS

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.