Open Bug 1620393 Opened 5 years ago Updated 9 months ago

Convert the thread 'ProxyResolution' to use the background thread pool

Categories

(Core :: Networking: Proxy, task, P3)

task

Tracking

()

People

(Reporter: KrisWright, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

The thread ProxyResolution [1] uses the NS_NewNamedThread method, so it might be possible to move it to the background thread pool.

In an effort to reduce the number of ad-hoc threads in the browser, we want to convert instances of NS_NewNamedThread to use the background thread pool [2] wherever possible. If your thread may block, you can also include the NS_DISPATCH_EVENT_MAY_BLOCK flag.

[1] https://searchfox.org/mozilla-central/rev/c79c0d65a183d9d38676855f455a5c6a7f7dadd3/netwerk/base/nsPACMan.cpp#421
[2] https://searchfox.org/mozilla-central/rev/91f6c02fcf4c16f78fdc4417f61f192688294066/xpcom/threads/nsThreadUtils.h#1730-1757

Priority: -- → P3
Whiteboard: [necko-triaged]
Assignee: nobody → sonakshisaxena1
Status: NEW → ASSIGNED

The bug assignee didn't login in Bugzilla in the last 7 months.
:dragana, could you have a look please?
For more information, please visit auto_nag documentation.

Assignee: sonakshisaxena1 → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(dd.mozilla)
Assignee: nobody → sonakshisaxena1
Status: NEW → ASSIGNED

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: sonakshisaxena1 → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(dd.mozilla)
Severity: normal → S3

Moving bug to Core/Networking: Proxy.

Component: Networking → Networking: Proxy
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: