node/deps/v8/test/unittests
Joyee Cheung 13fb819110
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>
Refs: https://github.com/microsoft/vscode/issues/251777
Refs: https://chromium-review.googlesource.com/c/v8/v8/+/7638233
PR-URL: https://github.com/nodejs/node/pull/61898
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
2026-04-24 18:01:32 +02:00
..
api deps: V8: backport bef0d9c1bc90 2026-04-24 18:01:32 +02:00
asmjs
assembler deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
base deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
builtins deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
codegen deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
common deps: update V8 to 14.1.146.11 2025-10-04 18:47:18 +02:00
compiler deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
compiler-dispatcher deps: update V8 to 14.1.146.11 2025-10-04 18:47:18 +02:00
date deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
debug deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
deoptimizer deps: update V8 to 14.1.146.11 2025-10-04 18:47:18 +02:00
diagnostics deps: update V8 to 14.2.231.9 2025-10-23 07:36:34 +02:00
dumpling deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
execution deps: update V8 to 14.2.231.9 2025-10-23 07:36:34 +02:00
flags deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
heap deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
inspector deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
interpreter deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
js-atomics deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
json deps: update V8 to 12.4.254.14 2024-04-22 21:25:15 +00:00
libplatform deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
libsampler deps: update V8 to 14.3.127.12 2025-11-13 15:08:26 +01:00
logging deps: update V8 to 14.2.231.9 2025-10-23 07:36:34 +02:00
maglev deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
numbers deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
objects deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
parser deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
profiler deps: update V8 to 14.1.146.11 2025-10-04 18:47:18 +02:00
regexp deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
regress deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
runtime deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
sandbox deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
strings deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
tasks deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
torque deps: update V8 to 14.1.146.11 2025-10-04 18:47:18 +02:00
tracing
utils deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
wasm deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
zone deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
avoid-windows-h-includes.cc
BUILD.gn deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
DEPS deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
fuzztest-adapter.h deps: update V8 to 12.3.219.16 2024-04-19 08:39:47 +00:00
fuzztest-init-adapter.h deps: update V8 to 12.3.219.16 2024-04-19 08:39:47 +00:00
fuzztest.cc deps: update V8 to 12.8.374.13 2024-08-16 16:03:01 +02:00
fuzztest.h deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
gay-fixed.cc
gay-fixed.h
gay-precision.cc
gay-precision.h
gay-shortest.cc
gay-shortest.h
gen_fuzztest_configs.py deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
gen_fuzztest_configs_test.py deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
PRESUBMIT.py deps: update V8 to 12.3.219.16 2024-04-19 08:39:47 +00:00
run-all-unittests.cc deps: update V8 to 14.1.146.11 2025-10-04 18:47:18 +02:00
test-helpers.cc deps: update V8 to 14.1.146.11 2025-10-04 18:47:18 +02:00
test-helpers.h deps: update V8 to 12.8.374.13 2024-08-16 16:03:01 +02:00
test-utils.cc deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
test-utils.h deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
testcfg.py deps: update V8 to 14.3.127.12 2025-11-13 15:08:26 +01:00
unittests.status deps: update V8 to 14.6.202.33 2026-04-24 18:01:28 +02:00
v8_unittests.cml