Open Bug 1789810 Opened 3 years ago Updated 1 year ago

[meta] Investigate potential life/dead locks on the child process' main thread

Categories

(Core :: DOM: Content Processes, task)

task

Tracking

()

People

(Reporter: jstutte, Unassigned)

References

(Depends on 2 open bugs, Blocks 1 open bug)

Details

(Keywords: meta)

There seem to be some cases of hangs where we just wait for some cond var or similar. Let's collect those here.

Depends on: 1789803
Depends on: 1789811
Depends on: 1789422
Depends on: 1808533
Depends on: 1813037
Depends on: 1817498
Depends on: 1837467
Depends on: 1838779

There seem to be quite some cases where we have a SpinEventLoopUntil on the content process' main thread stack.

Those might deserve a second look.

1 	tab: ChildProfilerController::ShutdownProfilerChild SYNC 	322 	63.89 %
2 	tab: nsGlobalWindowInner::ShowSlowScriptDialog 	43 	8.53 %
3 	tab: XMLHttpRequestMainThread::SendInternal 	42 	8.33 %
4 	tab: AudioCallbackDriver::Shutdown 	28 	5.56 %
5 	tab: nsThread::Shutdown: DOM Worker 	15 	2.98 %
6 	tab: ChildProfilerController::ShutdownProfilerChild SYNC|AudioCallbackDriver::Shutdown 	5 	0.99 %
7 	tab: XMLHttpRequestMainThread::SendInternal|XMLHttpRequestMainThread::SendInternal 	4 	0.79 %
8 	tab: nsThread::Shutdown: GraphRunner 	3 	0.60 %
9 	tab: nsThreadPool::ShutdownWithTimeout|nsThreadPool::ShutdownWithTimeout 	3 	0.60 %
10 	tab: ContentChild::ProvideWindowCommon 	2 	0.40 %
11 	tab: XMLHttpRequestMainThread::SendInternal|XMLHttpRequestMainThread::SendInternal|XMLHttpRequestMainThread::SendInternal 	2 	0.40 %
12 	tab: nsThread::Shutdown: DOM Worker,SHDRCV 	2 	0.40 %
13 	tab: nsThread::Shutdown: GraphRunner|nsThread::Shutdown: DOM Worker|nsThread::Shutdown: DOM Worker|nsThread::Shutdown: GraphRunner|nsThread::Shutdown: GraphRunner|nsThread::Shutdown: GraphRunner|nsThread::Shutdown: GraphRunner,SHDRCV|nsThread::Shutdown: GraphRunner|nsThread::Shutdown: GraphRunner|nsThread::Shutdown: GraphRunner,SHDRCV|AudioCallbackDriver::Shutdown 	2 	0.40 %
14 	tab: AudioCallbackDriver::Shutdown|AudioCallbackDriver::Shutdown 	1 	0.20 %
15 	tab: ChildProfilerController::ShutdownProfilerChild SYNC|nsThread::Shutdown: DOM Worker 	1 	0.20 %
16 	tab: ChildProfilerController::ShutdownProfilerChild SYNC|nsThread::Shutdown: DOM Worker|nsThread::Shutdown: DOM Worker|nsThread::Shutdown: DOM Worker 	1 	0.20 %
17 	tab: ChildProfilerController::ShutdownProfilerChild SYNC|nsThread::Shutdown: GraphRunner|AudioCallbackDriver::Shutdown 	1 	0.20 %
18 	tab: XMLHttpRequestMainThread::SendInternal|XMLHttpRequestMainThread::SendInternal|XMLHttpRequestMainThread::SendInternal|XMLHttpRequestMainThread::SendInternal 	1 	0.20 %
Depends on: 1951366
You need to log in before you can comment on or make changes to this bug.