forked fromoracle/graaljs
- Notifications
You must be signed in to change notification settings - Fork0
Commitdb8ea44
committed
bootstrap: make CJS loader snapshotable
This patch makes the top-level access to runtime states in theCJS loader lazy, and move the side-effects into ainitializeCJS() function that gets called during pre-execution.As a result the CJS loader can be included into the built-insnapshot.PR-URL:nodejs/node#45849Backport-PR-URL:nodejs/node#46425Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>Reviewed-By: Chengzhong Wu <legendecas@gmail.com>1 parent5df6d42 commitdb8ea44
File tree
7 files changed
+144
-124
lines changed- graal-nodejs
- lib/internal
- modules
- cjs
- process
- test
- fixtures
- errors
- parallel
7 files changed
+144
-124
lines changed0 commit comments
Comments
(0)