1'use strict'; 2const common = require('../common'); 3 4// TODO(mhdawson) Currently the test-tick-processor functionality in V8 5// depends on addresses being smaller than a full 64 bits. AIX supports 6// the full 64 bits and the result is that it does not process the 7// addresses correctly and runs out of memory 8// Disabling until we get a fix upstreamed into V8 9if (common.isAIX) 10 common.skip('AIX address range too big for scripts.'); 11 12const base = require('./tick-processor-base.js'); 13 14// Unknown checked for to prevent flakiness, if pattern is not found, 15// then a large number of unknown ticks should be present 16base.runTest({ 17 pattern: /LazyCompile.*\[eval]:1|.*% {2}UNKNOWN/, 18 code: `function f() { 19 for (let i = 0; i < 1000000; i++) { 20 i++; 21 } 22 setImmediate(function() { f(); }); 23 }; 24 f();`, 25}); 26