test: add new_large_object_space heap space

v8.getHeapSpaceStatistics() now includes new_large_object_space
in its results. Update test-v8-stats.js to account for this.

Refs: a383aa33e5

PR-URL: https://github.com/nodejs/node/pull/21983
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
This commit is contained in:
Michaël Zasso 2018-07-13 16:58:21 +02:00
parent e865acd4db
commit f7d572fa2b
No known key found for this signature in database
GPG Key ID: 770F7A9A5AE15600

View File

@ -25,6 +25,7 @@ const expectedHeapSpaces = [
'old_space',
'code_space',
'map_space',
'new_large_object_space',
'large_object_space',
'read_only_space'
];