mirror of https://github.com/nodejs/node.git
doc: add changelogs for v8
PR-URL: https://github.com/nodejs/node/pull/11489 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Italo A. Casas <me@italoacasas.com>pull/11489/head
parent
2426aaf11c
commit
5d46266560
|
@ -12,6 +12,10 @@ const v8 = require('v8');
|
|||
## v8.getHeapSpaceStatistics()
|
||||
<!-- YAML
|
||||
added: v6.0.0
|
||||
changes:
|
||||
- version: v7.5.0
|
||||
pr-url: https://github.com/nodejs/node/pull/10186
|
||||
description: Support values exceeding the 32-bit unsigned integer range.
|
||||
-->
|
||||
|
||||
Returns statistics about the V8 heap spaces, i.e. the segments which make up
|
||||
|
@ -72,6 +76,14 @@ For example:
|
|||
## v8.getHeapStatistics()
|
||||
<!-- YAML
|
||||
added: v1.0.0
|
||||
changes:
|
||||
- version: v7.2.0
|
||||
pr-url: https://github.com/nodejs/node/pull/8610
|
||||
description: Added `malloced_memory`, `peak_malloced_memory`,
|
||||
and `does_zap_garbage`.
|
||||
- version: v7.5.0
|
||||
pr-url: https://github.com/nodejs/node/pull/10186
|
||||
description: Support values exceeding the 32-bit unsigned integer range.
|
||||
-->
|
||||
|
||||
Returns an object with the following properties:
|
||||
|
|
Loading…
Reference in New Issue