Closed
Bug 1558310
Opened 5 years ago
Closed 5 years ago
Remove main thread check in nsStandardURL::nsStandardURL()
Categories
(Core :: Networking, task, P3)
Core
Networking
Tracking
()
RESOLVED
FIXED
mozilla71
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: mccr8, Assigned: valentin)
Details
(Whiteboard: [necko-triaged])
Attachments
(1 file)
When DEBUG_DUMP_URLS_AT_SHUTDOWN is defined, we track a set of live nsIURIs. Things are added to that set in the nsStandardURL ctor. At some point, a main thread check was added to fix some intermittent crashes, but it looks like the set of URIs is now guarded by a mutex, so that shouldn't be needed any more.
Removing this check will give us information about leaked URIs created off of the main thread.
Comment 1•5 years ago
|
||
Type: defect → task
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → valentin.gosu
Priority: -- → P3
Whiteboard: [necko-triaged]
Assignee | ||
Comment 2•5 years ago
|
||
Removing this check would allow us to see leaked URIs created off main thread.
This is OK because we already use a mutex to guard the linkedList
Pushed by valentin.gosu@gmail.com: https://hg.mozilla.org/integration/autoland/rev/9017559cb5d4 Remove main thread check in nsStandardURL::nsStandardURL() r=dragana
Comment 4•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox71:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in
before you can comment on or make changes to this bug.
Description
•