node/lib/internal/process
Joyee Cheung b2405e9b07 src: migrate from deprecated SnapshotCreator constructor
Previously we have been using the variant of SnapshotCreator that
only passes the external references instead of
v8::Isolate::CreateParams and it's about to be deprecated.
Switch to using the new constructor that takes a fully CreateParams
instead.

This also makes sure that the snapshot building script is using
the Node.js array buffer allocator instead of a separate default
one that was previously used by the old constructor. The zero fill
toggle in the Node.js array buffer allocator would still be ignored
during snapshot building, however, until we fixes the array buffer
allocator and let V8 own the toggle backing store instead, because
otherwise the snapshot would contain the external toggle address
and become unreproducible.

PR-URL: https://github.com/nodejs/node/pull/55337
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Vladimir Morozov <vmorozov@microsoft.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
2025-04-14 12:11:43 -07:00
..
execution.js module: improve typescript error message format 2025-04-01 11:16:48 +00:00
finalization.js lib: fix typos 2024-09-25 14:35:18 +00:00
per_thread.js process: add execve 2025-03-21 21:36:41 +01:00
permission.js src,lib: stabilize permission model 2024-12-12 12:11:58 +00:00
pre_execution.js src: migrate from deprecated SnapshotCreator constructor 2025-04-14 12:11:43 -07:00
promises.js lib: rewrite AsyncLocalStorage without async_hooks 2024-08-02 19:44:20 +00:00
report.js src: add cli option to preserve env vars on dr 2024-11-08 17:49:43 +00:00
signal.js errors: improve hideStackFrames 2023-11-11 16:25:08 +00:00
task_queues.js lib: improve async_context_frame structure 2024-08-09 19:44:42 +00:00
warning.js lib: prefer logical assignment 2024-10-09 06:42:16 +00:00
worker_thread_only.js lib: enforce ASCII order in error code imports 2024-04-23 17:05:38 +00:00