Skip to content
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

Expose cppgc::CppHeap::CollectStatistics() in v8 module #56533

Open
Qard opened this issue Jan 9, 2025 · 1 comment
Open

Expose cppgc::CppHeap::CollectStatistics() in v8 module #56533

Qard opened this issue Jan 9, 2025 · 1 comment
Labels
diag-agenda Issues and PRs to discuss during the meetings of the diagnostics working group. feature request Issues that request new features to be added to Node.js.

Comments

@Qard
Copy link
Member

Qard commented Jan 9, 2025

What is the problem this feature will solve?

Since we've been migrating things to use CppHeap, we have a bunch of extra GC-managed memory which has become a bit less mysterious to V8. This means we can take better advantage of V8 interfaces to get observability into this memory.

What is the feature you are proposing to solve the problem?

It would likely be an easy win to expose CppHeap data via cppgc::CppHeap::CollectStatistics() in the v8 module.

cc @nodejs/diagnostics

What alternatives have you considered?

No response

@Qard Qard added diag-agenda Issues and PRs to discuss during the meetings of the diagnostics working group. feature request Issues that request new features to be added to Node.js. labels Jan 9, 2025
@github-project-automation github-project-automation bot moved this to Awaiting Triage in Node.js feature requests Jan 9, 2025
@RafaelGSS
Copy link
Member

+1 from me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
diag-agenda Issues and PRs to discuss during the meetings of the diagnostics working group. feature request Issues that request new features to be added to Node.js.
Projects
Status: Awaiting Triage
Development

No branches or pull requests

2 participants