Skip to content

N-API: expose function to suggest GC extends external memory #13928

Description

@mhdawson
  • Version: ALL
  • Platform: ALL
  • Subsystem: ALL

Add an api to all the application to give the GC a 'hint' that external memory should be extended. This should be used to optimization and be a no-op on any vm that does not support such a request.

For V8 it would be a wrapper around:

v8::Isolate::AdjustAmountOfExternalAllocatedMemory()

And have a similar implementation to Nan::AdjustExternalMemory().

The N-API team will get to this based on priorities, but this is a good place for others to contribute as well. If you start working on this, assign the issue to yourself and add a comment that you are working on it.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueIssues that are suitable for first-time contributors.node-apiIssues and PRs related to Node-API.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions