Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoyee Cheung <joyeec9h3@gmail.com>2021-11-18 06:56:39 +0300
committerBryan English <bryan@bryanenglish.com>2022-05-30 19:26:49 +0300
commit85d81a764f7ddd60a18ea772bf912950b0818b2f (patch)
tree786c07ce8692d404f57e5057006a96a091fb91a4 /.github
parent82fb037388f510fde52558c8e19746a5ebb63938 (diff)
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>
Diffstat (limited to '.github')
-rw-r--r--.github/CODEOWNERS2
1 files changed, 0 insertions, 2 deletions
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 4170038a0ac..6d69bbf54be 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -107,10 +107,8 @@
/benchmark/misc/startup.js @nodejs/startup
/src/node.cc @nodejs/startup
-/src/node_code_cache_stub.cc @nodejs/startup
/src/node_native_module* @nodejs/startup
/lib/internal/bootstrap/* @nodejs/startup
-/tools/code_cache/* @nodejs/startup
/tools/snapshot/* @nodejs/startup
# V8