Closed
Bug 566639
Opened 15 years ago
Closed 15 years ago
Recursion limit differs between TM and interpreter, take 3
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jruderman, Assigned: dvander)
Details
(Keywords: testcase, Whiteboard: fixed-in-tracemonkey)
Attachments
(1 file)
|
973 bytes,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
var x = 0;
try {
(function r(d) { x++; if (d > 0) r(d - 1); })(4500);
} catch(e) { }
print(x);
Interpreter: 3000
TM: 3001
Previously fixed bugs: bug 520498, bug 522136.
This isn't a serious bug on its own, but it interferes with jsfunfuzz's ability to test for other TM/interpreter inconsistency bugs, which often *are* serious.
Updated•15 years ago
|
Assignee: general → dvander
Comment 1•15 years ago
|
||
dvander's patch for bug 565373 broke this. it also broke the trace-test for bug 522136, which seems to be testing the same issue. not sure why it is still there, keeping the tree orange.
| Assignee | ||
Comment 2•15 years ago
|
||
This test case is silly, as is the requirement that recursion limits be precisely identical between every mode of execution. Maintaining this invariant is tricky in JM and will break there under certain circumstances. jsfunfuzz should learn how to work around it.
In the meantime, this should patch won't execute traces if they could bump the inline call count past the interpreter's limit.
Attachment #446070 -
Flags: review?(lw)
Updated•15 years ago
|
Attachment #446070 -
Flags: review?(lw) → review+
| Assignee | ||
Comment 3•15 years ago
|
||
http://hg.mozilla.org/tracemonkey/rev/49da92b4c672
sorry for orange.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Whiteboard: fixed-in-tracemonkey
Comment 5•12 years ago
|
||
Filter on qa-project-auto-change:
Bug in removed tracer code, setting in-testsuite- flag.
Flags: in-testsuite-
You need to log in
before you can comment on or make changes to this bug.
Description
•