Skip to content

Commit f1c773d

Browse files
Trottevanlucas
authored andcommitted
doc: add added: information for v8
PR-URL: #6684 Ref: #6578 Reviewed-By: Ben Noorhduis <[email protected]> Reviewed-By: Claudio Rodriguez <[email protected]> Reviewed-By: Stephen Belanger <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent 5701599 commit f1c773d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

doc/api/v8.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ built with Node.js. These interfaces are subject to change by upstream and are
77
therefore not covered under the stability index.
88

99
## v8.getHeapStatistics()
10+
<!-- YAML
11+
added: v1.0.0
12+
-->
1013

1114
Returns an object with the following properties
1215

@@ -22,6 +25,9 @@ Returns an object with the following properties
2225
```
2326

2427
## v8.getHeapSpaceStatistics()
28+
<!-- YAML
29+
added: v6.0.0
30+
-->
2531

2632
Returns statistics about the V8 heap spaces, i.e. the segments which make up
2733
the V8 heap. Order of heap spaces nor availability of a heap space can be
@@ -71,6 +77,9 @@ Example result:
7177
```
7278

7379
## v8.setFlagsFromString(string)
80+
<!-- YAML
81+
added: v1.0.0
82+
-->
7483

7584
Set additional V8 command line flags. Use with care; changing settings
7685
after the VM has started may result in unpredictable behavior, including

0 commit comments

Comments
 (0)