summaryrefslogtreecommitdiff
path: root/test/parallel/test-v8-stats.js
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2018-11-23 18:59:42 +0100
committerMichaël Zasso <targos@protonmail.com>2019-03-14 18:51:20 +0100
commit260d5f8c3bd55381878cc77c7890d639b7c04452 (patch)
treecdfb2eeba95e61dbbeabeebf612804c7855337c3 /test/parallel/test-v8-stats.js
parent78c8491a7efddcb56f9ffe0fb2d4df727b68ae39 (diff)
downloadandroid-node-v8-260d5f8c3bd55381878cc77c7890d639b7c04452.tar.gz
android-node-v8-260d5f8c3bd55381878cc77c7890d639b7c04452.tar.bz2
android-node-v8-260d5f8c3bd55381878cc77c7890d639b7c04452.zip
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>
Diffstat (limited to 'test/parallel/test-v8-stats.js')
-rw-r--r--test/parallel/test-v8-stats.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/parallel/test-v8-stats.js b/test/parallel/test-v8-stats.js
index 4bebf37c05..83b515d3fd 100644
--- a/test/parallel/test-v8-stats.js
+++ b/test/parallel/test-v8-stats.js
@@ -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();