Skip to content

util: integrate node-heapdump into core

Rodrigo Muino Tomonari requested to merge github/fork/jasnell/heapdump into master

Adds v8.heapdump.getHeapdump() and v8.heapdump.triggerHeapdump(filename) methods with impl adapted from the node-heapdump module.

Not included is the SIGUSR2 signal, which can be handled by userland.

/cc https://github.com/nodejs/diagnostics/issues/279 @nodejs/diagnostics

Also see: https://github.com/nodejs/node/pull/26498

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading