Skip to content

Commit 299e6b4

Browse files
legendecasfossamagna
authored andcommitted
src: introduce node::Realm
To distinguish per-context values from the node::Environment, split those values to a new node::Realm structure and consolidate bootstrapping methods with it. PR-URL: nodejs#44179 Refs: nodejs#42528 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 997da3d commit 299e6b4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/pummel/test-heapdump-env.js

+6
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,10 @@ validateSnapshotNodes('Node / Realm', [{
3838
]
3939
}]);
4040

41+
validateSnapshotNodes('Node / Realm', [{
42+
children: [
43+
{ node_name: 'process', edge_name: 'process_object' },
44+
]
45+
}]);
46+
4147
console.log(context); // Make sure it's not GC'ed

0 commit comments

Comments
 (0)