Closed Bug 949878 Opened 11 years ago Closed 11 years ago

Rooting hazard analysis timeouts

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla29

People

(Reporter: sfink, Assigned: sfink)

References

Details

(Whiteboard: [qa-])

Attachments

(1 file)

When h4writer pushed bug 939614 this morning, suddenly the SM(Hf) static rooting analysis became insanely slow. Where before it took 10 minutes to load the callgraph, it started taking over an hour (and getting killed for nonresponsiveness).

I still don't know why that patch triggered it, but the slowness is due to bug 949724.
Blocks: 939614
Fortunately, the workaround is trivial. With this patch, bug 939614 completes the analysis run just fine. (The computeGCFunctions phase drops from its usual 10 min to about 1 minute.)
Attachment #8347026 - Flags: review?(terrence)
Comment on attachment 8347026 [details] [diff] [review]
Switch to integer indexes to avoid pathological array slowdown

Review of attachment 8347026 [details] [diff] [review]:
-----------------------------------------------------------------

Great! r=me

This is a great real-world stress test for our array machinery. Could you file a followup bug to make this workload into a benchmark?
Attachment #8347026 - Flags: review?(terrence) → review+
(In reply to Terrence Cole [:terrence] from comment #2)
> This is a great real-world stress test for our array machinery. Could you
> file a followup bug to make this workload into a benchmark?

That's bug 949724.
https://hg.mozilla.org/mozilla-central/rev/52a6e01a91d9
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: