test: update test-v8-stats

New heap space: code_large_object_space

PR-URL: https://github.com/nodejs/node/pull/25852
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
This commit is contained in:
Michaël Zasso 2018-11-23 18:59:42 +01:00
parent 78c8491a7e
commit 260d5f8c3b
No known key found for this signature in database
GPG Key ID: 770F7A9A5AE15600

View File

@ -21,12 +21,13 @@ keys.forEach(function(key) {
const expectedHeapSpaces = [
'new_space',
'old_space',
'code_large_object_space',
'code_space',
'large_object_space',
'map_space',
'new_large_object_space',
'large_object_space',
'new_space',
'old_space',
'read_only_space'
];
const heapSpaceStatistics = v8.getHeapSpaceStatistics();