0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc/api
isurusiri a1381fab8a doc: explain how to invoke gc
Currently the documentation for Wrapping C++ Objects doesn't explain
how to destruct an object by explicitly invoking the garbage collector.
This commit includes a modification to docs that explains how to force
the garbage collector to clear objects using V8's command line flags.

Fixes: https://github.com/nodejs/node/issues/19876

PR-URL: https://github.com/nodejs/node/pull/20431
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yang Guo <yangguo@chromium.org>
2018-09-18 22:58:01 -07:00
..
addons.md doc: explain how to invoke gc 2018-09-18 22:58:01 -07:00
assert.md doc: improve assert documentation 2018-09-07 22:42:08 +01:00
async_hooks.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
buffer.md doc: improve examples in buffer docs 2018-09-02 18:14:23 +02:00
child_process.md 2018-09-06, Version 10.10.0 (Current) 2018-09-06 23:57:43 +02:00
cli.md doc: node debugnode inspect in CLI docs 2018-09-12 13:08:46 +02:00
cluster.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
console.md 2018-07-18, Version 10.7.0 (Current) 2018-07-18 20:17:23 +02:00
crypto.md lib,doc: remove unused parameter, improve docs 2018-09-18 16:06:32 +02:00
debugger.md inspector: use js_app.html as the landing page for chrome devtools 2018-06-28 09:24:02 -03:00
deprecations.md crypto: assign missing deprecation code 2018-09-13 01:08:59 +02:00
dgram.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
dns.md doc: fix typo in dns docs 2018-09-14 20:52:36 +02:00
documentation.md doc: make Stability Index more concise 2018-08-30 20:15:40 +01:00
domain.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
errors.md util: make TextEncoder/TextDecoder global 2018-09-17 17:09:25 +02:00
esm.md esm: provide named exports for builtin libs 2018-05-11 12:06:18 -05:00
events.md doc: declare all parameter types 2018-07-15 23:57:35 +03:00
fs.md doc: add withFileTypes option to fsPromises.readdir 2018-09-14 21:12:17 -07:00
globals.md util: make TextEncoder/TextDecoder global 2018-09-17 17:09:25 +02:00
http2.md http2: add http2stream.endAfterHeaders property 2018-09-17 16:57:23 +02:00
http.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
https.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
index.md doc: prevent some redirections 2018-07-14 22:57:03 +03:00
inspector.md doc: fix structure and formatting in inspector.md 2018-07-08 21:56:10 +03:00
intl.md doc: bump ICU version to avoid confusion 2018-08-14 22:44:58 +03:00
modules.md module: add createRequireFunction method 2018-09-14 11:34:17 -05:00
n-api.md n-api: add generic finalizer callback 2018-09-12 22:37:42 -04:00
net.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
os.md 2018-09-06, Version 10.10.0 (Current) 2018-09-06 23:57:43 +02:00
path.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
perf_hooks.md perf_hooks: remove less useful bootstrap marks 2018-06-15 09:05:19 -07:00
process.md 2018-09-06, Version 10.10.0 (Current) 2018-09-06 23:57:43 +02:00
punycode.md doc: prevent some redirections 2018-07-14 22:57:03 +03:00
querystring.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
readline.md doc: add warning to readline's close() method 2018-09-06 20:11:31 -04:00
repl.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
stream.md doc: clarify Readable paused/flowing!==object mode 2018-09-03 17:57:41 +03:00
string_decoder.md string_decoder: support typed array or data view 2018-09-17 17:48:44 +02:00
synopsis.md doc: add missing periods or colons 2018-05-02 06:17:08 +03:00
timers.md doc: prevent some redirections 2018-07-14 22:57:03 +03:00
tls.md doc: indicate createSecureContext arg is optional 2018-09-02 14:04:53 +02:00
tracing.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
tty.md doc: declare all parameter types 2018-07-15 23:57:35 +03:00
url.md url: docs deprecate legacy url API 2018-09-07 16:55:44 -07:00
util.md util: make TextEncoder/TextDecoder global 2018-09-17 17:09:25 +02:00
v8.md doc: update a link in v8.md 2018-09-03 17:47:28 +03:00
vm.md Revert "src: implement query callbacks for vm" 2018-09-18 15:48:02 +02:00
worker_threads.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
zlib.md doc: unify optional arguments format in headings 2018-08-19 21:45:39 +03:00