From f7d572fa2b6ac995eca535c990fa82958de4731c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Fri, 13 Jul 2018 16:58:21 +0200 Subject: [PATCH] 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 Reviewed-By: Gus Caplan Reviewed-By: Ujjwal Sharma Reviewed-By: Matteo Collina --- test/parallel/test-v8-stats.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/parallel/test-v8-stats.js b/test/parallel/test-v8-stats.js index 83689afc974e12..4bebf37c0553e3 100644 --- a/test/parallel/test-v8-stats.js +++ b/test/parallel/test-v8-stats.js @@ -25,6 +25,7 @@ const expectedHeapSpaces = [ 'old_space', 'code_space', 'map_space', + 'new_large_object_space', 'large_object_space', 'read_only_space' ];