summaryrefslogtreecommitdiff
path: root/doc/api/v8.md
diff options
context:
space:
mode:
authorBryan English <bryan@bryanenglish.com>2016-05-05 23:36:37 -0700
committerMichaël Zasso <targos@protonmail.com>2016-05-09 14:32:24 +0200
commit95d0feeb99d8d9409249b6590a2cfebbd2f6bed6 (patch)
tree1538fec31703c4f82e99028920700c4e29b514e1 /doc/api/v8.md
parent9daf4a29378b6bdb4ce9b2c7ba32603f6a175d08 (diff)
downloadandroid-node-v8-95d0feeb99d8d9409249b6590a2cfebbd2f6bed6.tar.gz
android-node-v8-95d0feeb99d8d9409249b6590a2cfebbd2f6bed6.tar.bz2
android-node-v8-95d0feeb99d8d9409249b6590a2cfebbd2f6bed6.zip
doc: v8 functions as methods on v8
For consistency with other docs, show v8 functions as being on the v8 object. PR-URL: https://github.com/nodejs/node/pull/6615 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <mic.besace@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Diffstat (limited to 'doc/api/v8.md')
-rw-r--r--doc/api/v8.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/v8.md b/doc/api/v8.md
index 4761355141..f24e6eaa5c 100644
--- a/doc/api/v8.md
+++ b/doc/api/v8.md
@@ -6,7 +6,7 @@ This module exposes events and interfaces specific to the version of [V8][]
built with Node.js. These interfaces are subject to change by upstream and are
therefore not covered under the stability index.
-## getHeapStatistics()
+## v8.getHeapStatistics()
Returns an object with the following properties
@@ -21,7 +21,7 @@ Returns an object with the following properties
}
```
-## getHeapSpaceStatistics()
+## v8.getHeapSpaceStatistics()
Returns statistics about the V8 heap spaces, i.e. the segments which make up
the V8 heap. Order of heap spaces nor availability of a heap space can be
@@ -70,7 +70,7 @@ Example result:
]
```
-## setFlagsFromString(string)
+## v8.setFlagsFromString(string)
Set additional V8 command line flags. Use with care; changing settings
after the VM has started may result in unpredictable behavior, including