MCPcopy Create free account
hub / github.com/nodejs/node / serializeVMSymbols

Method serializeVMSymbols

deps/v8/tools/profile.mjs:324–330  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

322 }
323
324 serializeVMSymbols() {
325 let result = this.codeMap_.getAllStaticEntriesWithAddresses();
326 result.concat(this.codeMap_.getAllLibraryEntriesWithAddresses())
327 return result.map(([startAddress, codeEntry]) => {
328 return [codeEntry.getName(), startAddress, startAddress + codeEntry.size]
329 });
330 }
331
332 /**
333 * Returns whether a function with the specified name must be skipped.

Callers 1

printVMSymbolsMethod · 0.80

Calls 5

concatMethod · 0.80
mapMethod · 0.65
getNameMethod · 0.45

Tested by

no test coverage detected