mirror of
https://github.com/nodejs/node.git
synced 2024-11-25 08:19:38 +01:00
bd462ad81b
Only activated on some subfolders to minimize the diff, ideally this rule would be applied gradually to the entire codebase in follow-up commits. PR-URL: https://github.com/nodejs/node/pull/45468 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
26 lines
863 B
JavaScript
26 lines
863 B
JavaScript
'use strict';
|
|
const common = require('../common');
|
|
|
|
// TODO(mhdawson) Currently the test-tick-processor functionality in V8
|
|
// depends on addresses being smaller than a full 64 bits. AIX supports
|
|
// the full 64 bits and the result is that it does not process the
|
|
// addresses correctly and runs out of memory
|
|
// Disabling until we get a fix upstreamed into V8
|
|
if (common.isAIX)
|
|
common.skip('AIX address range too big for scripts.');
|
|
|
|
const base = require('./tick-processor-base.js');
|
|
|
|
// Unknown checked for to prevent flakiness, if pattern is not found,
|
|
// then a large number of unknown ticks should be present
|
|
base.runTest({
|
|
pattern: /LazyCompile.*\[eval]:1|.*% {2}UNKNOWN/,
|
|
code: `function f() {
|
|
for (let i = 0; i < 1000000; i++) {
|
|
i++;
|
|
}
|
|
setImmediate(function() { f(); });
|
|
};
|
|
f();`,
|
|
});
|