Skip to content

Commit

Permalink
test: adapt to new V8 trusted memory spaces
Browse files Browse the repository at this point in the history
Refs: https://chromium-review.googlesource.com/c/v8/v8/+/4791643
PR-URL: nodejs#50115
Reviewed-By: Rafael Gonzaga <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
  • Loading branch information
targos authored and Medhansh404 committed Jan 19, 2024
1 parent 019dfc3 commit 8d010d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/parallel/test-v8-stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ const expectedHeapSpaces = [
'read_only_space',
'shared_large_object_space',
'shared_space',
'trusted_large_object_space',
'trusted_space',
];
const heapSpaceStatistics = v8.getHeapSpaceStatistics();
const actualHeapSpaceNames = heapSpaceStatistics.map((s) => s.space_name);
Expand Down

0 comments on commit 8d010d5

Please sign in to comment.