node/tools
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
..
actions tools: fix skip PR if CI is still running 2022-03-21 04:33:11 +00:00
bootstrap doc: use `HEAD` instead of `master` for links 2021-05-05 10:45:30 +02:00
clang-format tools: update clang-format 1.6.0 to 1.7.0 2022-04-14 06:29:47 +01:00
configure.d
doc tools: update doc to highlight.js@11.5.1 2022-04-17 07:44:36 +01:00
eslint-rules tools: lint deprecation codes 2022-02-19 18:14:09 +01:00
gyp doc: consolidate use of multiple-byte units 2022-04-20 00:46:37 +02:00
icu deps: update ICU to 71.1 2022-04-10 10:13:52 +01:00
inspector_protocol doc: consolidate use of multiple-byte units 2022-04-20 00:46:37 +02:00
lint-md tools: update lint-md-dependencies to rollup@2.73.0 2022-05-15 14:42:37 +01:00
macos-installer tools: set arch in Distribution.xml 2021-04-19 10:23:24 +01:00
msvs build: improve reliability of find_python.cmd script 2022-04-23 20:45:27 +01:00
node_modules tools: update eslint to 8.15.0 2022-05-08 17:45:09 +01:00
pip
rpm tools: lint shell scripts 2020-12-16 23:45:26 +01:00
snapshot bootstrap: move embedded snapshot to SnapshotBuilder 2022-04-20 02:21:24 +08:00
v8 tools: fetch googletest dependency for V8 CI 2021-07-20 15:29:37 +02:00
v8_gypfiles build: enable V8's shared read-only heap 2022-04-24 07:29:13 +01:00
.eslintrc.yaml tools: enable no-var ESLint rule for lib 2022-04-04 10:53:29 +00:00
build-addons.js
certdata.txt tools: update certdata.txt 2021-10-04 10:09:06 +00:00
checkimports.py tools: fix C++ import checker argument expansion 2020-08-07 08:43:19 -07:00
compress_json.py doc: consolidate use of multiple-byte units 2022-04-20 00:46:37 +02:00
copyfile.py deps,test,src,doc,tools: update to OpenSSL 3.0 2021-10-11 06:28:08 +02:00
cpplint.py tools: refloat 7 Node.js patches to cpplint.py 2022-03-22 22:44:54 -07:00
create_android_makefiles
create_expfile.sh tools: lint shell scripts 2020-12-16 23:45:26 +01:00
enable_fips_include.py deps,test,src,doc,tools: update to OpenSSL 3.0 2021-10-11 06:28:08 +02:00
find-inactive-collaborators.mjs tools: use GITHUB_ACTIONS env var in inactivity scripts 2022-01-10 10:14:31 +00:00
find-inactive-tsc.mjs tools: fix small not-quite-a-bug in find-inactive-tsc.mjs 2022-01-14 06:22:42 +00:00
gen_node_def.cc build: fix various shared library build issues 2022-05-06 17:24:46 -04:00
genv8constants.py tools: make genv8constants.py Python3-compatible 2021-03-22 08:21:01 -07:00
getarch.py
getendian.py
getmachine.py
getmoduleversion.py
getnapibuildversion.py
getnodeversion.py
getsharedopensslhasquic.py deps,test,src,doc,tools: update to OpenSSL 3.0 2021-10-11 06:28:08 +02:00
gyp_node.py deps,test,src,doc,tools: update to OpenSSL 3.0 2021-10-11 06:28:08 +02:00
install.py build: fix various shared library build issues 2022-05-06 17:24:46 -04:00
js2c.py build: pass directory instead of list of files to js2c.py 2021-06-24 13:53:29 -07:00
license-builder.sh lib: add fetch 2022-02-01 08:17:50 +00:00
license2rtf.js
lint-pr-url.mjs tools: fix lint-pr-url message 2021-02-13 18:08:48 +01:00
lint-sh.mjs tools: refactor lint-sh.js to esm module 2022-05-08 16:08:10 +01:00
lsan_suppressions.txt
macos-firewall.sh tools: lint osx shell scripts 2022-04-14 23:08:55 +01:00
make-v8.sh build: use ccache in make-v8.sh on ppc64le and s390x 2022-03-07 23:25:41 +00:00
mk-ca-bundle.pl
mkssldef.py
osx-codesign.sh tools: remove bashisms from macOS release scripts 2020-12-04 22:56:13 +00:00
osx-entitlements.plist tools: add debug entitlements for macOS 10.15+ 2020-08-10 16:42:14 +02:00
osx-gon-config.json.tmpl
osx-notarize.sh tools: lint osx shell scripts 2022-04-14 23:08:55 +01:00
osx-pkg-postinstall.sh deps: add corepack 2021-08-25 07:55:32 -07:00
osx-productsign.sh tools: remove bashisms from macOS release scripts 2020-12-04 22:56:13 +00:00
release.sh tools: fix release script sign function 2020-12-21 14:47:22 +01:00
run-valgrind.py
run-worker.js test: move test-crypto-engine to addon 2022-02-07 17:29:54 -05:00
sign.bat
specialize_node_d.py
test-npm-package.js
test-v8.bat
test.py test: give slow tests more time on Rasberry PIs 2022-03-18 16:02:13 -04:00
update-authors.js tools: consolidate update-authors.js logic 2021-12-23 06:46:26 +00:00
update-cares.sh tools: add script to update c-ares 2021-11-01 19:48:44 -07:00
update-eslint.sh tools: include JSDoc in ESLint updating tool 2021-12-01 20:00:11 -08:00
update-nghttp2.sh deps: update nghttp2 to 1.47.0 2022-02-27 12:28:04 +00:00
update-npm.sh tools: use mktemp to create the workspace directory 2021-05-03 14:49:52 +02:00
update-undici.sh deps: update undici to 5.1.1 2022-05-02 13:15:50 +01:00
utils.py tools: remove armv6 from test tools 2021-07-04 19:56:09 -07:00
valgrind.supp