node/deps/v8/include
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
..
cppgc deps: update V8 to 14.3.127.12 2025-11-13 15:08:26 +01:00
libplatform deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
APIDesign.md
DEPS deps: update V8 to 14.1.146.11 2025-10-04 18:47:18 +02:00
DIR_METADATA deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
js_protocol-1.2.json
js_protocol-1.3.json
js_protocol.pdl deps: update V8 to 14.2.231.9 2025-10-23 07:36:34 +02:00
OWNERS deps: update V8 to 14.1.146.11 2025-10-04 18:47:18 +02:00
v8-array-buffer.h deps: update V8 to 14.1.146.11 2025-10-04 18:47:18 +02:00
v8-callbacks.h deps: update V8 to 14.3.127.12 2025-11-13 15:08:26 +01:00
v8-container.h deps: update V8 to 12.2.281.27 2024-03-31 15:36:07 +02:00
v8-context.h deps: update V8 to 14.2.231.9 2025-10-23 07:36:34 +02:00
v8-cpp-heap-external.h deps: update V8 to 13.7.152.9 2025-05-18 07:42:43 +00:00
v8-cppgc.h deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
v8-data.h deps: update V8 to 14.2.231.9 2025-10-23 07:36:34 +02:00
v8-date.h deps: update V8 to 12.8.374.13 2024-08-16 16:03:01 +02:00
v8-debug.h deps: update V8 to 14.1.146.11 2025-10-04 18:47:18 +02:00
v8-embedder-heap.h deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
v8-embedder-state-scope.h deps: update V8 to 12.2.281.27 2024-03-31 15:36:07 +02:00
v8-exception.h deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
v8-extension.h
v8-external-memory-accounter.h deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
v8-external.h deps: update V8 to 14.3.127.12 2025-11-13 15:08:26 +01:00
v8-fast-api-calls.h deps: update V8 to 14.3.127.12 2025-11-13 15:08:26 +01:00
v8-forward.h deps: update V8 to 12.3.219.16 2024-04-19 08:39:47 +00:00
v8-function-callback.h deps: update V8 to 14.1.146.11 2025-10-04 18:47:18 +02:00
v8-function.h deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
v8-handle-base.h deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
v8-initialization.h deps: V8: backport bef0d9c1bc90 2026-04-02 22:41:30 +00:00
v8-inspector-protocol.h
v8-inspector.h deps: update V8 to 14.2.231.9 2025-10-23 07:36:34 +02:00
v8-internal.h deps: remove problematic comment from v8-internal 2025-11-13 15:09:01 +01:00
v8-isolate.h deps: update V8 to 14.3.127.12 2025-11-13 15:08:26 +01:00
v8-json.h deps: update V8 to 14.1.146.11 2025-10-04 18:47:18 +02:00
v8-local-handle.h deps: update V8 to 14.3.127.12 2025-11-13 15:08:26 +01:00
v8-locker.h
v8-maybe.h deps: update V8 to 14.1.146.11 2025-10-04 18:47:18 +02:00
v8-memory-span.h deps: update V8 to 14.3.127.12 2025-11-13 15:08:26 +01:00
v8-message.h deps: update V8 to 14.2.231.9 2025-10-23 07:36:34 +02:00
v8-metrics.h deps: update V8 to 14.3.127.12 2025-11-13 15:08:26 +01:00
v8-microtask-queue.h deps: update V8 to 12.8.374.13 2024-08-16 16:03:01 +02:00
v8-microtask.h
v8-object.h deps: update V8 to 14.3.127.12 2025-11-13 15:08:26 +01:00
v8-persistent-handle.h deps: update V8 to 14.3.127.12 2025-11-13 15:08:26 +01:00
v8-platform.h deps: update V8 to 14.3.127.12 2025-11-13 15:08:26 +01:00
v8-primitive-object.h
v8-primitive.h deps: update V8 to 14.3.127.12 2025-11-13 15:08:26 +01:00
v8-profiler.h deps: update V8 to 14.2.231.9 2025-10-23 07:36:34 +02:00
v8-promise.h deps: update V8 to 12.8.374.13 2024-08-16 16:03:01 +02:00
v8-proxy.h deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
v8-regexp.h deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
v8-sandbox.h deps: update V8 to 14.1.146.11 2025-10-04 18:47:18 +02:00
v8-script.h deps: V8: cherry-pick 3d0f462a17ff 2025-10-15 11:41:53 +00:00
v8-snapshot.h deps: update V8 to 12.8.374.13 2024-08-16 16:03:01 +02:00
v8-source-location.h deps: update V8 to 14.1.146.11 2025-10-04 18:47:18 +02:00
v8-statistics.h deps: V8: backport fe81545e6d14 2025-11-03 16:36:07 +00:00
v8-template.h deps: update V8 to 14.3.127.12 2025-11-13 15:08:26 +01:00
v8-trace-categories.h deps: update V8 to 14.1.146.11 2025-10-04 18:47:18 +02:00
v8-traced-handle.h deps: update V8 to 14.1.146.11 2025-10-04 18:47:18 +02:00
v8-typed-array.h deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
v8-unwinder-state.h deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
v8-unwinder.h deps: update V8 to 14.1.146.11 2025-10-04 18:47:18 +02:00
v8-util.h deps: update V8 to 12.9.202.18 2024-09-19 14:25:34 +00:00
v8-value-serializer-version.h deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
v8-value-serializer.h
v8-value.h deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
v8-version-string.h
v8-version.h deps: patch V8 to 14.3.127.18 2026-01-20 13:02:36 +00:00
v8-wasm-trap-handler-posix.h
v8-wasm-trap-handler-win.h
v8-wasm.h deps: update V8 to 14.3.127.12 2025-11-13 15:08:26 +01:00
v8-weak-callback-info.h deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
v8.h deps: update V8 to 13.6.233.8 2025-05-02 15:06:53 +02:00
v8config.h deps: define V8_PRESERVE_MOST as no-op on Windows 2025-11-13 15:08:54 +01:00