зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1191576 - Fix JIT invalidation spew to work when called while compacting r=terrence
This commit is contained in:
Родитель
1fb4684bf5
Коммит
528dc79f84
|
@ -0,0 +1,17 @@
|
|||
// |jit-test| allow-oom
|
||||
|
||||
if (!('gczeal' in this && 'oomAfterAllocations' in this))
|
||||
quit();
|
||||
|
||||
var lfcode = new Array();
|
||||
gczeal(14);
|
||||
loadFile(`
|
||||
for each(let e in newGlobal()) {
|
||||
if (oomAfterAllocations(100))
|
||||
continue;
|
||||
}
|
||||
`);
|
||||
function loadFile(lfVarx) {
|
||||
for (lfLocal in this) {}
|
||||
evaluate(lfVarx);
|
||||
}
|
|
@ -2839,9 +2839,11 @@ InvalidateActivation(FreeOp* fop, const JitActivationIterator& activations, bool
|
|||
type = "Baseline";
|
||||
else if (it.isBailoutJS())
|
||||
type = "Bailing";
|
||||
JitSpew(JitSpew_IonInvalidate, "#%d %s JS frame @ %p, %s:%" PRIuSIZE " (fun: %p, script: %p, pc %p)",
|
||||
frameno, type, it.fp(), it.script()->filename(), it.script()->lineno(),
|
||||
it.maybeCallee(), (JSScript*)it.script(), it.returnAddressToFp());
|
||||
JitSpew(JitSpew_IonInvalidate,
|
||||
"#%d %s JS frame @ %p, %s:%" PRIuSIZE " (fun: %p, script: %p, pc %p)",
|
||||
frameno, type, it.fp(), it.script()->maybeForwardedFilename(),
|
||||
it.script()->lineno(), it.maybeCallee(), (JSScript*)it.script(),
|
||||
it.returnAddressToFp());
|
||||
break;
|
||||
}
|
||||
case JitFrame_IonStub:
|
||||
|
|
Загрузка…
Ссылка в новой задаче