mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
956 B
33 lines
956 B
8 years ago
|
'use strict';
|
||
|
const common = require('../common');
|
||
|
|
||
|
// TODO(mhdawson) Currently the test-tick-processor functionality in V8
|
||
8 years ago
|
// depends on addresses being smaller than a full 64 bits. AIX supports
|
||
8 years ago
|
// 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) {
|
||
8 years ago
|
common.skip('AIX address range too big for scripts.');
|
||
8 years ago
|
return;
|
||
|
}
|
||
|
|
||
8 years ago
|
if (!common.enoughTestCpu) {
|
||
|
common.skip('test is CPU-intensive');
|
||
|
return;
|
||
|
}
|
||
|
|
||
8 years ago
|
const base = require('./tick-processor-base.js');
|
||
8 years ago
|
|
||
|
// Unknown checked for to prevent flakiness, if pattern is not found,
|
||
|
// then a large number of unknown ticks should be present
|
||
|
base.runTest({
|
||
8 years ago
|
pattern: /LazyCompile.*\[eval]:1|.*% UNKNOWN/,
|
||
8 years ago
|
code: `function f() {
|
||
|
for (var i = 0; i < 1000000; i++) {
|
||
|
i++;
|
||
|
}
|
||
|
setImmediate(function() { f(); });
|
||
|
};
|
||
|
f();`
|
||
|
});
|