v8: add setHeapSnapshotNearHeapLimit
Add setHeapSnapshotNearHeapLimit
method so users(such as APM) can set the limit at runtime.
Refs: https://github.com/nodejs/node/pull/33010
cc @joyeecheung
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines