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

Function print_owning_space

deps/v8/tools/windbg.js:663–677  ·  view source on GitHub ↗
(address)

Source from the content-addressed store, hash-verified

661}
662
663function print_owning_space(address) {
664 if (isolate_address == 0) {
665 print("Please call !set_iso(isolate_address) first.");
666 return;
667 }
668
669 address = decomp(address);
670 let c = find_chunk(address);
671 if (c) {
672 print(`${hex(address)} is in ${c.space} (chunk: ${hex(c.address)})`);
673 }
674 else {
675 print(`Address ${hex(address)} is not in managed heap`);
676 }
677}
678
679/*-----------------------------------------------------------------------------
680 Handles

Callers

nothing calls this directly

Calls 4

decompFunction · 0.85
find_chunkFunction · 0.85
printFunction · 0.70
hexFunction · 0.70

Tested by

no test coverage detected