diff options
author | Yuriy Vasiyarov <yvasiyarov@ozon.travel> | 2019-05-30 16:41:03 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-07-30 21:36:51 +0300 |
commit | 21a7c695f0601ae10ccf6f6cdc9f35f56be2fe90 (patch) | |
tree | c6eb8e8c1d9905727e08b0f429e821c99b94b6ca /src/env.cc | |
parent | 8be37663532ac364ef57eb33913ae4ece583077d (diff) |
src: export v8.GetHeapCodeAndMetadataStatistics()
Export statistic provided by V8 through HeapCodeStatistics class and
and GetHeapCodeAndMetadataStatistics function to v8 Node.js module
PR-URL: https://github.com/nodejs/node/pull/27978
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'src/env.cc')
-rw-r--r-- | src/env.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/env.cc b/src/env.cc index 80079c4f6ed..f0ac855e3d8 100644 --- a/src/env.cc +++ b/src/env.cc @@ -414,6 +414,7 @@ Environment::~Environment() { delete[] heap_statistics_buffer_; delete[] heap_space_statistics_buffer_; delete[] http_parser_buffer_; + delete[] heap_code_statistics_buffer_; TRACE_EVENT_NESTABLE_ASYNC_END0( TRACING_CATEGORY_NODE1(environment), "Environment", this); |