Skip to content

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

Open
@Qard

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    diag-agendaIssues and PRs to discuss during the meetings of the diagnostics working group.feature requestIssues that request new features to be added to Node.js.

    Type

    No type

    Projects

    • Status

      Awaiting Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions