jit-test/tests/basic/bug680217.js takes a long time

RESOLVED FIXED in mozilla12

Status

()

Core
JavaScript Engine
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: jandem, Assigned: jandem)

Tracking

unspecified
mozilla12
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

(Assignee)

Description

5 years ago
I just got a timeout when running jit-tests. This test takes about 30 seconds to run in the interpreter (with a release build or with -m -n it's much faster)
(Assignee)

Comment 1

5 years ago
Created attachment 585274 [details] [diff] [review]
Patch

Since most changes for bug 680217 were in the parser/emitter, I think it's fine to just lower the iteration count. And even if this value is necessary, I'm sure the fuzzers will catch it again, probably by modifying this testcase.
Attachment #585274 - Flags: review?(bhackett1024)
(Assignee)

Comment 2

5 years ago
Created attachment 585275 [details] [diff] [review]
Patch

Also adds a gc() call (looks like these loops are there just to trigger a GC).
Attachment #585274 - Attachment is obsolete: true
Attachment #585274 - Flags: review?(bhackett1024)
Attachment #585275 - Flags: review?(bhackett1024)
Attachment #585275 - Flags: review?(bhackett1024) → review+
(Assignee)

Comment 3

5 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/06df9b7d4a69
Target Milestone: --- → mozilla12
https://hg.mozilla.org/mozilla-central/rev/06df9b7d4a69
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.