Closed
Description
- 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.