Open Bug 1319007 Opened 3 years ago Updated 2 years ago

Add a watchdog to monitor long running tasks in TaskQueue

Categories

(Core :: XPCOM, defect, P3)

defect

Tracking

()

People

(Reporter: jwwang, Unassigned)

References

Details

Attachments

(1 file)

This helps debug hangs like bug 1317234.
Depends on: 1319356
Depends on: 1319357
Did you want to push this to completion, or are we just letting something like the background hang reporting take care of this nowadays?
Flags: needinfo?(jwwang)
Priority: -- → P3
http://searchfox.org/mozilla-central/rev/ed1d5223adcdc07e9a2589ee20f4e5ee91b4df10/toolkit/components/backgroundhangmonitor/BackgroundHangMonitor.h#25-26

It looks like BHM doesn't monitor every thread but only the main and 'background' threads as I had to devise our own watchdog to monitor media threads.

I forgot the reason why I didn't complete the task (maybe due to Try failures?). And now I don't have time to complete it either. So I just leave it there in case someone finds it interesting.
Flags: needinfo?(jwwang)
You need to log in before you can comment on or make changes to this bug.