diff options
author | cjihrig <cjihrig@gmail.com> | 2019-04-08 17:20:26 +0300 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2019-04-13 00:16:46 +0300 |
commit | 9b6b567bc4dd8f40bad12528eebf12dac8a8027f (patch) | |
tree | 7e2b9264a4d45f26091f92c099065320abd47f75 /src/node_options.h | |
parent | 8cf3af14864ac1bee4b3145bec8a8cf3e38edc55 (diff) |
lib,src,doc: add --heapsnapshot-signal CLI flag
This flag allows heap snapshots to be captured without
modifying application code.
PR-URL: https://github.com/nodejs/node/pull/27133
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'src/node_options.h')
-rw-r--r-- | src/node_options.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node_options.h b/src/node_options.h index e07ee7fb353..59baea562a9 100644 --- a/src/node_options.h +++ b/src/node_options.h @@ -100,6 +100,7 @@ class EnvironmentOptions : public Options { bool experimental_vm_modules = false; bool expose_internals = false; bool frozen_intrinsics = false; + std::string heap_snapshot_signal; std::string http_parser = "llhttp"; bool no_deprecation = false; bool no_force_async_hooks_checks = false; |