summaryrefslogtreecommitdiff
path: root/doc/api/v8.md
diff options
context:
space:
mode:
authorestrada9166 <estrada9166@hotmail.com>2018-02-12 02:31:55 -0500
committerRuben Bridgewater <ruben@bridgewater.de>2018-02-23 16:26:29 +0000
commita29089d7c866955616c0e363843017e9b9b2a736 (patch)
tree28bb543eea1a6bd814da31d854daa8680fdc5a90 /doc/api/v8.md
parent3a191229418dcc0e21956847993b1702c88a923b (diff)
downloadnode-new-a29089d7c866955616c0e363843017e9b9b2a736.tar.gz
doc: add new documentation lint rule
Add 80 characters limit to docs. Change docs to fit 80 characters per row. PR-URL: https://github.com/nodejs/node/pull/18726 Fixes: https://github.com/nodejs/node/issues/18703 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Diffstat (limited to 'doc/api/v8.md')
-rw-r--r--doc/api/v8.md13
1 files changed, 7 insertions, 6 deletions
diff --git a/doc/api/v8.md b/doc/api/v8.md
index ac46e5df58..f929fe6a03 100644
--- a/doc/api/v8.md
+++ b/doc/api/v8.md
@@ -108,11 +108,11 @@ Returns an object with the following properties:
* `peak_malloced_memory` {number}
* `does_zap_garbage` {number}
-`does_zap_garbage` is a 0/1 boolean, which signifies whether the `--zap_code_space`
-option is enabled or not. This makes V8 overwrite heap garbage with a bit
-pattern. The RSS footprint (resident memory set) gets bigger because it
-continuously touches all heap pages and that makes them less likely to get
-swapped out by the operating system.
+`does_zap_garbage` is a 0/1 boolean, which signifies whether the
+`--zap_code_space` option is enabled or not. This makes V8 overwrite heap
+garbage with a bit pattern. The RSS footprint (resident memory set) gets bigger
+because it continuously touches all heap pages and that makes them less likely
+to get swapped out by the operating system.
<!-- eslint-skip -->
```js
@@ -299,7 +299,8 @@ added: v8.0.0
#### new Deserializer(buffer)
-* `buffer` {Buffer|Uint8Array} A buffer returned by [`serializer.releaseBuffer()`][].
+* `buffer` {Buffer|Uint8Array} A buffer returned by
+ [`serializer.releaseBuffer()`][].
Creates a new `Deserializer` object.