summaryrefslogtreecommitdiff
path: root/tools/code_cache
Commit message (Collapse)AuthorAgeFilesLines
* tools: fix use-after-free mkcodecache warningBen Noordhuis2019-04-271-0/+1
| | | | | | | | | | Call `v8::Platform::ShutdownPlatform()` to fix a Coverity warning about the `v8::Platform` instance being deleted when it's still in use. PR-URL: https://github.com/nodejs/node/pull/27332 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
* build: improve embedded code-cache detectionRefael Ackermann2019-04-221-0/+3
| | | | | | PR-URL: https://github.com/nodejs/node/pull/27311 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
* tools: refactor mkcodecacheRefael Ackermann2019-04-161-32/+21
| | | | | PR-URL: https://github.com/nodejs/node/pull/27161 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
* tools: implement mkcodecache as an executableJoyee Cheung2019-04-163-0/+243
This patch implement a mkcodecache executable on top of the `NativeModuleLoader` singleton. This makes it possible to build a Node.js binary with embedded code cache without building itself using the code cache stub - the cache is now initialized by `NativeModuleEnv` instead which can be refactored out of the mkcodecache dependencies. PR-URL: https://github.com/nodejs/node/pull/27161 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>