Files
node/lib/internal
Joyee Cheung fbe1478077 bootstrap: include code cache in the embedded snapshot
Since V8 code cache encodes indices to the read-only space
it is safer to make sure that the code cache is generated in the
same heap used to generate the embdded snapshot. This patch
merges the code cache builder into the snapshot builder and
makes the code cache part of node::SnapshotData that is
deserialized into the native module loader during bootstrap.

PR-URL: https://github.com/nodejs/node/pull/43023
Fixes: https://github.com/nodejs/node/issues/31074
Refs: https://github.com/nodejs/node/issues/35711
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
2022-05-17 20:38:11 +08:00
..
2022-05-15 05:25:53 +01:00
2022-04-15 18:37:28 +01:00
2022-05-04 16:51:12 +01:00
2022-05-04 16:51:12 +01:00
2022-04-08 11:29:24 +01:00
2022-05-04 16:51:12 +01:00
2022-04-24 10:30:17 -05:00
2022-05-04 16:51:12 +01:00
2022-03-18 15:15:08 +00:00
2021-09-26 11:46:14 +00:00

Internal Modules

The modules in lib/internal are intended for internal use in Node.js core only, and are not accessible with require() from user modules. These modules can be changed at any time. Reliance on these modules outside of core is not supported in any way.