process: expose heapLimit
Pull Request check-list
Please make sure to review and check all of these items:
-
Does make -j8 test
(UNIX) orvcbuild test nosign
(Windows) pass with this change (including linting)? -
Is the commit message formatted according to [CONTRIBUTING.md][0]? -
If this change fixes a bug (or a performance problem), is a regression test (or a benchmark) included? -
Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?
Affected core subsystem(s)
process
Description of change
Since we already expose the other heap information, I don't see a reason not to also provide the current heap limit information.
This is the change that exposed it on the v8 api: https://github.com/v8/v8/commit/6f72caf92d6d07216108bc06423b78603255cc7d