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: https://github.com/v8/v8/commit/a383aa33e5c9aa5a5ff5c47dfd41b58aa867c783

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 committed 2018-09-07 21:08:05 +02:00
1 parent e865acd4db
commit f7d572fa2b
1 file changed
+1
+1
View File
@@ -25,6 +25,7 @@ const expectedHeapSpaces = [
'old_space',
'code_space',
'map_space',
'new_large_object_space',
'large_object_space',
'read_only_space'
];