mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
PR-URL: https://github.com/nodejs/node/pull/66776 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Aviv Keller <me@aviv.sh> Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day> Reviewed-By: James M Snell <jasnell@gmail.com>
27 lines
813 B
JavaScript
27 lines
813 B
JavaScript
'use strict';
|
|
|
|
const os = require('node:os');
|
|
|
|
// On AIX, V8's OS::DecommitPages() has an inherent race condition caused by
|
|
// AIX's non-POSIX MAP_FIXED behavior. The implementation must munmap() then
|
|
// mmap(), and another thread can steal the address range in between. The
|
|
// Blob.arrayBuffer() tests trigger this by creating enough GC pressure
|
|
// (especially the concurrent reads test) to hit the race window.
|
|
// See deps/v8/src/base/platform/platform-aix.cc, lines 168-203.
|
|
const isAIX = os.type() === 'AIX';
|
|
|
|
const conditionalSkips = {};
|
|
|
|
if (isAIX) {
|
|
conditionalSkips['Blob-array-buffer.any.js'] = {
|
|
skip: 'V8 DecommitPages race condition on AIX (munmap/mmap non-atomic)',
|
|
};
|
|
}
|
|
|
|
module.exports = {
|
|
...conditionalSkips,
|
|
'Blob-constructor-dom.window.js': {
|
|
skip: 'Depends on DOM API',
|
|
},
|
|
};
|