Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.4k
src: export v8.GetHeapCodeAndMetadataStatistics()#27978
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
472d571 to e8bb983Compare
addaleax left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good code-wise, although I have to admit to not really being sure about what use cases there are
nodejs-github-bot commented May 31, 2019
yvasiyarov commented May 31, 2019
@addaleax main use case here is monitoring of node.js applications. |
lib/v8.js Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: kCodeAndMetadataSizeIndex (no n after kCode)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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 07967f6Compareyvasiyarov commented Jul 30, 2019
Guys, |
nodejs-github-bot commented Jul 30, 2019
joyeecheung commented Jul 30, 2019
@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 <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Trott commented Jul 30, 2019
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 <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Rich Trott <[email protected]>
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