src: export v8.GetHeapCodeAndMetadataStatistics()#27978
src: export v8.GetHeapCodeAndMetadataStatistics()#27978yvasiyarov wants to merge 1 commit intonodejs:masterfrom
Conversation
472d571 to
e8bb983
Compare
addaleax
left a comment
There was a problem hiding this comment.
Looks good code-wise, although I have to admit to not really being sure about what use cases there are
|
@addaleax main use case here is monitoring of node.js applications. |
lib/v8.js
Outdated
There was a problem hiding this comment.
Typo: kCodeAndMetadataSizeIndex (no n after kCode)
There was a problem hiding this comment.
@bnoordhuis typo fixed. Commit squashed with original commit
Export statistic provided by V8 through HeapCodeStatistics class and and GetHeapCodeAndMetadataStatistics function to v8 Node.js module
e8bb983 to
07967f6
Compare
|
Guys, |
|
@yvasiyarov with three approvals it should be ready to land as long as the CI is green (I started one). |
Export statistic provided by V8 through HeapCodeStatistics class and and GetHeapCodeAndMetadataStatistics function to v8 Node.js module PR-URL: nodejs#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>
|
Landed in 21a7c69. Thanks for the contribution! 🎉 |
Export statistic provided by V8 through HeapCodeStatistics class and and GetHeapCodeAndMetadataStatistics function to v8 Node.js module PR-URL: #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>
Notable changes:
* assert:
* Legacy mode deprecation (`DEP0089`) is revoked (Colin Ihrig)
#28892
* crypto:
* The `outputLength` option is added to `crypto.createHash`
(Tobias Nießen) #28805
* The `maxmem` range is increased from 32 to 53 bits (Tobias Nießen)
#28799
* n-api:
* Added APIs for per-instance state management (Gabriel Schulhof)
#28682
* report:
* Network interfaces get included in the report (cjihrig)
#28911
* src:
* `v8.getHeapCodeStatistics()` is now exported
(Yuriy Vasiyarov) #27978
PR-URL: #29017
Notable changes:
* assert:
* Legacy mode deprecation (`DEP0089`) is revoked (Colin Ihrig)
nodejs#28892
* crypto:
* The `outputLength` option is added to `crypto.createHash`
(Tobias Nießen) nodejs#28805
* The `maxmem` range is increased from 32 to 53 bits (Tobias Nießen)
nodejs#28799
* n-api:
* Added APIs for per-instance state management (Gabriel Schulhof)
nodejs#28682
* report:
* Network interfaces get included in the report (cjihrig)
nodejs#28911
* src:
* `v8.getHeapCodeStatistics()` is now exported
(Yuriy Vasiyarov) nodejs#27978
PR-URL: nodejs#29017
Export statistic provided by V8 through HeapCodeStatistics class and
and GetHeapCodeAndMetadataStatistics function to v8 Node.js module
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes