MCPcopy Index your code
hub / github.com/nodejs/node / constructor

Method constructor

test/common/heap.js:114–117  ·  view source on GitHub ↗
(stream)

Source from the content-addressed store, hash-verified

112
113class State {
114 constructor(stream) {
115 this.snapshot = createJSHeapSnapshot(stream);
116 this.embedderGraph = buildEmbedderGraph();
117 }
118
119 // Validate the v8 heap snapshot
120 validateSnapshot(rootName, expected, { loose = false } = {}) {

Callers

nothing calls this directly

Calls 2

createJSHeapSnapshotFunction · 0.85
buildEmbedderGraphFunction · 0.85

Tested by

no test coverage detected